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

  :root {
    --bg:        #ffffff;
    --bg2:       #ecf9ec;
    --bg-dark:   #0d110e;
    --bg-dark2:  #111a13;
    --text:      #0d110e;
    --text-inv:  #e8efe9;
    --muted:     #4a5e52;
    --muted2:    #7a9085;
    --muted-inv: #6a8a72;
    --accent:    #166534;
    --accent-lt: #4ade80;
    --accent-dim:#bbf7d0;
    --rule:      #e2e8e3;
    --rule-dark: #1a2b1e;
    --font-d:    'Space Grotesk', sans-serif;
    --font-d:    'Space Grotesk', sans-serif;
    --font-ui:   'Space Grotesk', sans-serif;
  }

  html { scroll-behavior: smooth; }

  body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Space Grotesk', sans-serif;
    overflow-x: hidden;
  }

  .container {
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
    padding: 0 52px;
  }

  /* ── NAV ── */
  nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255,255,255,.1);
    background: #166534;
    backdrop-filter: blur(12px);
  }

  .nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 52px;
  }

  .nav-logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: #ffffff;
  }

  .nav-links { display: flex; gap: 44px; list-style: none; }

  .nav-links a {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 16px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(255,255,255,.8);
    text-decoration: none;
    transition: color .2s;
    position: relative;
  }

  .nav-links a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ffffff;
    transition: width .3s ease;
  }

  .nav-links a:hover { color: #ffffff; }
  .nav-links a:hover::after { width: 100%; }


  .nav-resume {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11px;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: rgba(255,255,255,.8);
    text-decoration: none;
    border: 1px solid rgba(255,255,255,.3);
    padding: 9px 20px;
    transition: border-color .2s, color .2s;
  }

  .nav-resume:hover { color: #ffffff; border-color: #ffffff; }


  /* ── HERO ── */
  .hero {
    min-height: auto;
    padding: 140px 0 80px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
    overflow: hidden;
    background: var(--bg);
  }

  .hero-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    z-index: 2;
  }

  .hero-eyebrow {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 14px;
  }

  .hero-eyebrow::before {
    content: '';
    display: block;
    width: 32px;
    height: 1px;
    background: var(--muted2);
  }

  .hero-avail {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 12px;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--text);
  }

  .hero-avail-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #c2510a;
    animation: pulse 2.4s ease-in-out infinite;
  }

  @keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .4; transform: scale(.8); }
  }

  .hero-name-block {
    position: relative;
    z-index: 2;
    margin-top: 72px;
    margin-bottom: 12px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
  }

  .hero-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(64px, 11vw, 128px);
    font-weight: 700;
    line-height: .88;
    letter-spacing: -.03em;
    color: var(--text);
  }

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

  .hero-name-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-deco {
    position: relative;
    height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: default;
    overflow: visible;
  }

  .globe-lines {
    position: absolute;
    width: 460px;
    height: 460px;
    pointer-events: none;
  }

  #tag-sphere {
    position: relative;
    width: 460px;
    height: 460px;
    transform-style: preserve-3d;
  }

  .sphere-tag {
    position: absolute;
    top: 50%; left: 50%;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 10px;
    letter-spacing: .12em;
    text-transform: uppercase;
    white-space: nowrap;
    transform-origin: center;
    user-select: none;
    padding: 5px 11px;
    pointer-events: none;
  }

  .hero-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: end;
    border-top: 1px solid var(--rule);
    padding-top: 40px;
    margin-top: 48px;
    position: relative;
    z-index: 2;
  }

  .hero-bio {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px;
    font-weight: 300;
    line-height: 1.8;
    color: var(--muted);
  }

  .hero-bio strong { color: var(--text); font-weight: 500; }
  .hero-bio em { color: var(--accent); font-style: normal; }

  .hero-right { display: flex; flex-direction: column; align-items: flex-end; gap: 20px; }

  .hero-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }

  .chip {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 12px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
    border: 1px solid var(--rule);
    padding: 7px 14px;
    background: var(--bg);
    transition: border-color .2s, color .2s;
  }

  .chip:hover { border-color: var(--accent-dim); color: var(--accent); }

  .hero-scroll {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 12px;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--muted2);
  }

  .hero-scroll::before { content: ''; width: 40px; height: 1px; background: var(--muted2); }

  .hero-resume-btn {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: #ffffff;
    text-decoration: none;
    background: #166534;
    border: none;
    padding: 13px 32px;
    display: inline-block;
    margin-top: 48px;
    transition: background .2s;
  }

  .hero-resume-btn:hover {
    background: #14532d;
  }


  /* ── ABOUT ── */
  .about { background: var(--bg); padding: 80px 0; }

  .about-inner { display: grid; grid-template-columns: 1fr 2fr; gap: 80px; max-width: 1280px; }

  .section-label {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: #4a5e52;
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
  }

  .section-label::before { content: ''; width: 32px; height: 2px; background: #4a5e52; flex-shrink: 0; }

  .about-heading {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(36px, 4.5vw, 56px);
    font-weight: 700;
    line-height: 1.0;
    letter-spacing: -.01em;
    color: var(--text);
  }

  .about-heading .dot { color: var(--accent); }

  .about-body p {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 19px;
    font-weight: 300;
    line-height: 1.85;
    color: var(--muted);
    margin-bottom: 24px;
  }

  .about-body p:last-child { margin-bottom: 0; }
  .about-body strong { color: var(--text); font-weight: 500; }
  .about-body em { color: var(--accent); font-style: normal; }

  .about-stats { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--rule); margin-top: 52px; }

  .stat { padding: 28px 24px; border-right: 1px solid var(--rule); }
  .stat:last-child { border-right: none; }

  .stat-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 42px;
    font-weight: 600;
    letter-spacing: -.02em;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 6px;
  }

  .stat-label {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted2);
  }

  /* ── STACK (dark) ── */
  .stack { background: var(--bg2); padding: 120px 0; }

  .stack-header { display: flex; justify-content: space-between; align-items: flex-end; border-bottom: 1px solid var(--rule); padding-bottom: 32px; margin-bottom: 64px; }

  .stack-heading { font-family: 'Space Grotesk', sans-serif; font-size: clamp(36px, 4.5vw, 56px); font-weight: 700; line-height: .95; letter-spacing: -.01em; color: var(--text); }
  .stack-heading .dot { color: var(--accent); }

  .stack-sub { font-family: 'Space Grotesk', sans-serif; font-size: 12px; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); }

  .stack-groups { display: grid; grid-template-columns: repeat(3, 1fr); }

  .stack-group { padding: 40px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
  .stack-group:nth-child(3n) { border-right: none; }
  .stack-group:nth-last-child(-n+3) { border-bottom: none; }

  .stack-group-num { font-family: 'Space Grotesk', sans-serif; font-size: 13px; font-weight: 600; letter-spacing: .15em; color: var(--accent); margin-bottom: 14px; }
  .stack-group-name { font-family: 'Space Grotesk', sans-serif; font-size: 16px; font-weight: 600; color: var(--text); margin-bottom: 20px; }

  .stack-tags { display: flex; flex-wrap: wrap; gap: 8px; }

  .stack-tag { font-family: 'Space Grotesk', sans-serif; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--rule); padding: 6px 12px; transition: color .2s, border-color .2s; }
  .stack-tag:hover { color: var(--accent); border-color: var(--accent-dim); }

  /* ── WORK ── */
  .work { background: var(--bg); padding: 120px 0; }

  .work-header { display: flex; justify-content: space-between; align-items: flex-end; border-bottom: 1px solid var(--rule); padding-bottom: 32px; margin-bottom: 0; }

  .work-heading { font-family: 'Space Grotesk', sans-serif; font-size: clamp(36px, 4.5vw, 56px); font-weight: 700; line-height: .95; letter-spacing: -.01em; color: var(--text); }
  .work-heading .dot { color: var(--accent); }

  .work-items { display: flex; flex-direction: column; }

  .work-item { display: grid; grid-template-columns: 80px 1fr auto; gap: 32px; align-items: start; padding: 40px 0; border-bottom: 1px solid var(--rule); }
  .work-item:last-child { border-bottom: none; }

  .work-num { font-family: 'Space Grotesk', sans-serif; font-size: 13px; font-weight: 600; letter-spacing: .15em; color: var(--accent); padding-top: 4px; }
  .work-company { font-family: 'Space Grotesk', sans-serif; font-size: 20px; font-weight: 600; letter-spacing: -.01em; color: var(--text); margin-bottom: 4px; }
  .work-role { font-family: 'Space Grotesk', sans-serif; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted2); margin-bottom: 14px; }
  .work-desc { font-family: 'Space Grotesk', sans-serif; font-size: 16px; font-weight: 300; line-height: 1.7; color: var(--muted); max-width: 520px; }

  .work-tags { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; padding-top: 4px; }
  .work-tag { font-family: 'Space Grotesk', sans-serif; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted2); border: 1px solid var(--rule); padding: 5px 10px; }

  /* ── PROJECTS (light) ── */
  .projects { background: var(--bg2); padding: 120px 0 60px; }

  .projects-header { display: flex; justify-content: space-between; align-items: flex-end; border-bottom: 1px solid var(--rule); padding-bottom: 32px; margin-bottom: 48px; }

  .projects-heading { font-family: 'Space Grotesk', sans-serif; font-size: clamp(36px, 4.5vw, 56px); font-weight: 700; line-height: .95; letter-spacing: -.01em; color: var(--text); }
  .projects-heading .dot { color: var(--accent); }

  .projects-grid {
    position: relative;
  }

  .carousel-track-wrap {
    overflow: hidden;
    width: 100%;
  }

  .carousel-track {
    display: flex;
    gap: 30px;
    transition: transform .45s cubic-bezier(.4,0,.2,1);
    align-items: stretch;
    will-change: transform;
  }

  .project-card {
    flex: 0 0 calc(33.333% - 18px);
    max-width: calc(33.333% - 18px);
    padding: 0 0 32px 0;
    background: var(--bg);
    border: 1px solid var(--rule);
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: box-shadow .2s, transform .2s;
    box-sizing: border-box;
  }

  .project-card:hover { box-shadow: 0 4px 24px rgba(22,101,52,.08); transform: translateY(-2px); }
  .project-card:hover .project-img { filter: brightness(1.08); }
  .carousel-track-wrap { border-bottom: none; }

  .carousel-controls {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 40px;
  }

  .carousel-btn {
    width: 44px;
    height: 44px;
    border: 1px solid var(--rule);
    background: var(--bg);
    color: var(--text);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color .2s, background .2s;
    font-family: 'Space Grotesk', sans-serif;
  }

  .carousel-btn:hover { border-color: var(--accent); color: var(--accent); }
  .carousel-btn:disabled { opacity: .25; cursor: default; }

  .carousel-dots {
    display: flex;
    gap: 8px;
  }

  .carousel-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--rule-dark);
    border: 1px solid var(--muted-inv);
    cursor: pointer;
    transition: background .2s;
  }

  .carousel-dot.active { background: var(--accent-lt); border-color: var(--accent-lt); }

  .project-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: top;
    display: block;
    border-bottom: 1px solid var(--rule);
    margin: 0;
    width: 100%;
    transition: filter .2s;
  }

  .project-img-placeholder {
    width: 100%;
    height: 200px;
    background: var(--bg2);
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11px;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--muted2);
    opacity: .6;
    border-bottom: 1px solid var(--rule);
  }

  .project-num { font-family: 'Space Grotesk', sans-serif; font-size: 13px; font-weight: 600; letter-spacing: .15em; color: var(--accent); padding: 0 28px; margin-top: 24px; }
  .project-name { font-family: 'Space Grotesk', sans-serif; font-size: 19px; font-weight: 600; color: var(--text); letter-spacing: -.01em; padding: 0 28px; }
  .project-desc { font-family: 'Space Grotesk', sans-serif; font-size: 15px; font-weight: 300; line-height: 1.75; color: var(--muted); flex: 1; padding: 0 28px; }

  .project-tags { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 28px; }
  .project-tag { font-family: 'Space Grotesk', sans-serif; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--rule); padding: 5px 10px; }

  .project-link { font-family: 'Space Grotesk', sans-serif; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; transition: opacity .2s; padding: 0 28px; }
  .project-link:hover { opacity: .7; }

  /* ── CONTACT ── */
  .contact { background: var(--bg2); padding:  120px; position: relative; overflow: hidden; }

  .contact-inner { position: relative; z-index: 2; max-width: 680px; margin: 0 auto; text-align: center; }

  .contact-heading { font-family: 'Space Grotesk', sans-serif; font-size: clamp(36px, 5vw, 58px); font-weight: 700; line-height: 1; letter-spacing: -.01em; color: var(--text); margin-bottom: 24px; white-space: nowrap; }
  .contact-heading .dot { color: var(--accent); }

  .contact-sub { font-family: 'Space Grotesk', sans-serif; font-size: 18px; font-weight: 300; line-height: 1.75; color: var(--muted); margin: 0 auto 40px; max-width: 440px; text-align: center; }

  .contact-links { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

  .contact-link { font-family: 'Space Grotesk', sans-serif; font-size: 12px; letter-spacing: .15em; text-transform: uppercase; text-decoration: none; padding: 14px 28px; transition: .2s; }
  .contact-link.primary { background: var(--accent); color: #fff; }
  .contact-link.primary:hover { background: #14532d; }
  .contact-link.ghost { color: var(--muted); border: 1px solid var(--rule); background: var(--bg); }
  .contact-link.ghost:hover { color: var(--accent); border-color: var(--accent-dim); }

  /* ── FOOTER ── */
  footer { background: #166534; border-top: 1px solid var(--rule-dark); padding: 32px 0; text-align: center; }

  .footer-inner { display: flex; flex-direction: column; align-items: center; gap: 12px; }



  .footer-copy { font-family: 'Space Grotesk', sans-serif; font-size: 13px; letter-spacing: .08em; color: #fff; opacity: .5; }

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

  .hero-eyebrow { animation: fadeUp .6s ease both; animation-delay: .1s; }
  .hero-avail   { animation: fadeUp .6s ease both; animation-delay: .15s; }
  .hero-name    { animation: fadeUp .7s ease both; animation-delay: .25s; }
  .hero-bottom  { animation: fadeUp .7s ease both; animation-delay: .4s; }

  @media (max-width: 768px) {
    .hero-eyebrow, .hero-avail, .hero-name, .hero-bottom {
      animation: none;
      opacity: 1;
      transform: none;
    }
  }

  /* ── HAMBURGER ── */
  .nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
    z-index: 200;
  }

  .nav-hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: #fff;
    transition: transform .3s ease, opacity .3s ease;
    transform-origin: center;
  }

  .nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-hamburger.open span:nth-child(2) { opacity: 0; }
  .nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* ── MOBILE MENU OVERLAY ── */
  .mobile-menu {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0;
    background: rgba(22,101,52,.99);
    backdrop-filter: blur(12px);
    z-index: 150;
    flex-direction: column;
    border-bottom: 2px solid rgba(255,255,255,.2);
    transform: translateY(-100%);
    transition: transform .35s cubic-bezier(.4,0,.2,1);
    padding-top: 72px;
  }

  .mobile-menu.open {
    display: flex;
    transform: translateY(0);
  }

  .mobile-menu-close {
    position: absolute;
    top: 18px;
    right: 20px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #ffffff;
    line-height: 1;
    padding: 0;
  }

  .mobile-menu ul {
    list-style: none;
    width: 100%;
  }

  .mobile-menu ul li {
    border-bottom: 1px solid rgba(255,255,255,.12);
  }

  .mobile-menu ul li:first-child {
    border-top: 1px solid rgba(255,255,255,.12);
  }

  .mobile-menu ul li a {
    display: block;
    padding: 18px 28px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255,255,255,.9);
    text-decoration: none;
    transition: color .2s, background .2s;
  }

  .mobile-menu ul li a:hover {
    color: #ffffff;
    background: rgba(255,255,255,.08);
  }

  .mobile-menu-resume {
    margin: 20px 28px 24px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
    background: var(--accent);
    padding: 13px 28px;
    transition: background .2s;
    display: inline-block;
    align-self: flex-start;
  }

  .mobile-menu-resume:hover { background: #14532d; }

  /* ── MOBILE ── */
  @media (max-width: 768px) {
    .nav-inner { padding: 18px 24px; }
    .nav-links, .nav-actions { display: none; }
    .nav-hamburger { display: flex; }
    .container { padding: 0 24px; }
    .hero { padding: 120px 0 60px; }
    .hero-eyebrow::before {display: none; }
    .hero-name-block { grid-template-columns: 1fr; }
    .hero-deco { display: none; }
    .hero-bottom { grid-template-columns: 1fr; gap: 28px; margin-top: 32px; }
    .hero-right { align-items: flex-start; }
    .hero-chips { justify-content: flex-start; }
    .hero-scroll { display: none; }
    .about { padding: 80px 0; }
    .about-inner { grid-template-columns: 1fr; gap: 40px; }
    .about-stats { grid-template-columns: 1fr 1fr; }
    .about-stats .stat:nth-child(2) { border-right: none; }
    .about-stats .stat:nth-child(3) { border-top: 1px solid var(--rule); grid-column: 1 / -1; }
    .stack { padding: 80px 0; }
    .stack-header { flex-direction: column; align-items: flex-start; gap: 12px; }
    .stack-groups { grid-template-columns: 1fr; }
    .stack-group { border-right: none; border-bottom: 1px solid var(--rule); padding: 32px 0; }
    .stack-group:last-child { border-bottom: none; }
    .work { padding: 80px 0; }
    .work-header { flex-direction: column; align-items: flex-start; gap: 12px; }
    .work-item { grid-template-columns: 48px 1fr; gap: 16px; }
    .work-tags { display: none; }
    .projects { padding: 80px 0; }
    .projects-header { flex-direction: column; align-items: flex-start; gap: 12px; }
    .project-card { flex: 0 0 100%; max-width: 100%; padding: 0 0 24px 0; }
    .contact { padding: 40px 0; }
    .contact-links { grid-template-columns: 1fr; align-items: center; }
    .contact-heading { white-space: normal; }
    footer { padding: 28px 0; }

    
  }
  }