:root {
      --bg: #f4f6f8;
      --surface: #fff;
      --ink: #1a2332;
      --body: #3d4f63;
      --muted: #64748b;
      --line: #e2e8f0;
      --accent: #0d7a72;
      --accent-soft: #e6f5f4;
      --accent-dark: #0a5c56;
      --max: 1080px;
      --font: "DM Sans", system-ui, sans-serif;
      --display: "DM Serif Display", Georgia, serif;
      --radius: 12px;
      --shadow: 0 1px 3px rgba(26,35,50,.06), 0 8px 24px rgba(26,35,50,.06);
    }
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }
    body {
      font-family: var(--font);
      font-size: 16px;
      line-height: 1.65;
      color: var(--body);
      background: var(--bg);
      -webkit-font-smoothing: antialiased;
    }
    img { max-width: 100%; display: block; }
    a { color: inherit; text-decoration: none; }
    .container { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }

    h1, h2, h3 { font-family: var(--display); font-weight: 400; color: var(--ink); }
    h2 { font-size: clamp(1.75rem, 4vw, 2.25rem); line-height: 1.15; }
    h3 { font-size: 1.125rem; line-height: 1.3; }

    .eyebrow {
      font-size: .75rem;
      font-weight: 700;
      letter-spacing: .1em;
      text-transform: uppercase;
      color: var(--accent);
      margin-bottom: .5rem;
    }
    .eyebrow i { margin-right: .35rem; font-size: .7rem; }

    /* Nav */
    .nav {
      position: sticky; top: 0; z-index: 100;
      background: rgba(255,255,255,.92);
      backdrop-filter: blur(10px);
      border-bottom: 1px solid var(--line);
    }
    .nav-inner {
      height: 64px;
      display: flex; align-items: center; gap: 1rem;
    }
    .nav-end {
      margin-left: auto;
      display: flex; align-items: center; gap: .5rem;
    }
    .logo {
      display: flex; align-items: center; gap: .65rem;
      font-weight: 700; font-size: .9rem; color: var(--ink);
    }
    .logo-mark {
      display: flex; align-items: center; flex-shrink: 0;
    }
    .logo-mark img {
      height: 38px; width: auto; display: block;
    }
    .logo small { display: block; font-size: .7rem; font-weight: 500; color: var(--muted); }
    .nav-links {
      display: flex; gap: .15rem; list-style: none;
    }
    .nav-links a {
      padding: .45rem .75rem; border-radius: 8px;
      font-size: .875rem; font-weight: 500; color: var(--body);
      transition: background .15s;
    }
    .nav-links a:hover { background: var(--bg); color: var(--ink); }
    .nav-toggle {
      display: none; border: 0; background: var(--ink); color: #fff;
      padding: .5rem .75rem; border-radius: 8px; cursor: pointer;
      font-size: .875rem; font-weight: 600;
    }
    .btn {
      display: inline-flex; align-items: center; gap: .5rem;
      padding: .65rem 1.15rem; border-radius: 8px;
      font-size: .875rem; font-weight: 600; font-family: inherit;
      border: 1px solid transparent; cursor: pointer;
      transition: transform .15s, box-shadow .15s;
    }
    .btn:hover { transform: translateY(-1px); }
    .btn-primary { background: var(--accent); color: #fff; }
    .btn-primary:hover { background: var(--accent-dark); box-shadow: var(--shadow); }
    .btn-dark { background: var(--ink); color: #fff; }
    .btn-outline { background: #fff; border-color: var(--line); color: var(--ink); }
    .btn-outline:hover { border-color: #cbd5e1; box-shadow: var(--shadow); }
    .btn-outline-light {
      background: transparent;
      border-color: rgba(255,255,255,.35);
      color: #fff;
    }
    .btn-outline-light:hover {
      background: rgba(255,255,255,.1);
      border-color: rgba(255,255,255,.55);
      color: #fff;
      box-shadow: none;
    }

    /* Hero */
    .hero {
      padding: 3.5rem 0 2.5rem;
      background: linear-gradient(180deg, #fff 0%, var(--bg) 100%);
      border-bottom: 1px solid var(--line);
    }
    .hero-grid {
      display: grid;
      grid-template-columns: 1fr 380px;
      gap: 3rem;
      align-items: center;
    }
    .hero-status {
      display: inline-flex; align-items: center; gap: .5rem;
      font-size: .8rem; font-weight: 600; color: var(--accent-dark);
      background: var(--accent-soft); border-radius: 999px;
      padding: .35rem .85rem; margin-bottom: 1.25rem;
    }
    .hero-status::before {
      content: ""; width: 7px; height: 7px; border-radius: 50%;
      background: var(--accent);
    }
    .hero h1 {
      font-size: clamp(2.25rem, 5.5vw, 3.25rem);
      line-height: 1.05; margin-bottom: .75rem;
    }
    .hero-title {
      font-size: 1.125rem; font-weight: 600; color: var(--ink);
      margin-bottom: .65rem; line-height: 1.4;
    }
    .hero-keywords {
      font-size: .875rem; color: var(--muted);
      margin-bottom: 1rem; line-height: 1.5;
    }
    .hero-summary {
      font-size: 1rem; line-height: 1.65; color: var(--body);
      margin-bottom: 1.5rem; max-width: 540px;
    }
    .hero-cta { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.25rem; }
    .hero-visual {
      display: flex; flex-direction: column; align-items: center;
      justify-content: center;
    }
    .hero-photo {
      width: 300px; height: 300px;
      border-radius: 50%; overflow: hidden; flex-shrink: 0;
      border: 5px solid #fff;
      box-shadow: 0 0 0 1px var(--line), var(--shadow);
      background: #e2e8f0;
    }
    .hero-photo img {
      width: 100%; height: 100%; object-fit: cover;
    }

    /* Clients */
    .clients {
      padding: 2rem 0;
      background: var(--surface);
      border-bottom: 1px solid var(--line);
    }
    .clients-label {
      text-align: center; font-size: .7rem; font-weight: 700;
      letter-spacing: .1em; text-transform: uppercase;
      color: var(--muted); margin-bottom: 1.25rem;
    }
    .clients-grid {
      display: grid;
      grid-template-columns: repeat(6, 1fr);
      gap: .75rem;
    }
    .client {
      display: flex; flex-direction: column; align-items: center;
      justify-content: center; gap: .6rem;
      padding: 1.15rem .65rem;
      background: var(--bg); border: 1px solid var(--line);
      border-radius: var(--radius); min-height: 108px;
    }
    .client-box {
      height: 52px; display: flex; align-items: center; justify-content: center;
      width: 100%;
    }
    .client img { max-height: 50px; max-width: 92%; object-fit: contain; }
    .client span { font-size: .65rem; font-weight: 600; color: var(--muted); text-align: center; line-height: 1.3; }

    /* Sections */
    section { padding: 4rem 0; }
    section:nth-child(even) { background: var(--surface); }
    .section-header { margin-bottom: 2rem; max-width: 640px; }
    .section-header p { color: var(--muted); margin-top: .5rem; font-size: 1.05rem; }

    /* Profile */
    .profile-section {
      background: linear-gradient(180deg, var(--bg) 0%, #fff 100%);
    }
    .profile-grid {
      display: grid;
      grid-template-columns: 1fr 1.05fr;
      gap: 2.5rem;
      align-items: start;
    }
    .profile-intro h2 { margin-bottom: 1rem; }
    .profile-lead {
      font-size: 1.125rem;
      line-height: 1.7;
      color: var(--ink);
      font-weight: 500;
      margin-bottom: 1.5rem;
      max-width: 480px;
    }
    .profile-focus {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: .75rem;
    }
    .profile-focus li {
      display: flex;
      align-items: flex-start;
      gap: .85rem;
      font-size: .9rem;
      line-height: 1.55;
      color: var(--body);
    }
    .profile-focus li strong { color: var(--ink); font-weight: 600; }
    .profile-focus-icon {
      width: 36px; height: 36px; flex-shrink: 0;
      border-radius: 10px;
      background: var(--accent-soft);
      color: var(--accent);
      display: grid; place-items: center;
      font-size: .9rem;
    }
    .profile-card {
      background: #fff;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      padding: 1.75rem 1.85rem;
      box-shadow: var(--shadow);
      border-top: 3px solid var(--accent);
    }
    .profile-card p {
      font-size: 1rem;
      line-height: 1.75;
      color: var(--body);
      margin-bottom: 1rem;
    }
    .profile-card p:last-of-type { margin-bottom: 0; }
    .profile-highlight {
      padding: 1rem 1.15rem;
      margin: 1.25rem 0;
      background: var(--accent-soft);
      border-radius: 8px;
      border-left: 3px solid var(--accent);
      color: var(--ink) !important;
      font-weight: 500;
    }
    .profile-tags {
      display: flex;
      flex-wrap: wrap;
      gap: .45rem;
      margin-top: 1.25rem;
      padding-top: 1.25rem;
      border-top: 1px solid var(--line);
    }
    .profile-tags span {
      font-size: .7rem;
      font-weight: 600;
      color: var(--accent-dark);
      background: var(--bg);
      border: 1px solid var(--line);
      border-radius: 999px;
      padding: .3rem .65rem;
    }

    /* Cards grid */
    .grid-3 {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1rem;
    }
    .card {
      background: #fff; border: 1px solid var(--line);
      border-radius: var(--radius); padding: 1.35rem;
      box-shadow: 0 1px 2px rgba(26,35,50,.04);
    }
    section:nth-child(even) .card { background: var(--bg); }
    .card-icon {
      width: 40px; height: 40px; border-radius: 10px;
      background: var(--accent-soft); color: var(--accent);
      display: grid; place-items: center; font-size: 1rem;
      margin-bottom: .85rem;
    }
    .card h3 { margin-bottom: .5rem; font-size: 1rem; }
    .card p { font-size: .875rem; color: var(--muted); line-height: 1.55; }

    /* Tools */
    .tools-row {
      display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
    }
    .tool-block {
      background: #fff; border: 1px solid var(--line);
      border-radius: var(--radius); padding: 1.35rem;
    }
    section:nth-child(even) .tool-block { background: var(--bg); }
    .tool-block h3 {
      font-family: var(--font); font-size: .8rem; font-weight: 700;
      text-transform: uppercase; letter-spacing: .06em;
      color: var(--accent); margin-bottom: .75rem;
    }
    .tool-block p { font-size: .875rem; line-height: 1.6; color: var(--body); }

    /* Experience */
    .exp-list { display: flex; flex-direction: column; gap: 1.25rem; }
    .exp-item {
      background: #fff; border: 1px solid var(--line);
      border-radius: var(--radius); padding: 1.5rem;
      box-shadow: 0 1px 2px rgba(26,35,50,.04);
    }
    .exp-top {
      display: flex; flex-wrap: wrap; align-items: flex-start;
      justify-content: space-between; gap: .75rem 1.5rem;
      margin-bottom: .5rem;
    }
    .exp-logo img {
      height: 32px; width: auto; max-width: 140px;
      object-fit: contain; margin-bottom: .75rem;
      background: #fff; border-radius: 6px; padding: 4px 8px;
      border: 1px solid var(--line);
    }
    .exp-item h3 { font-size: 1.15rem; margin-bottom: .25rem; }
    .exp-meta { font-size: .875rem; color: var(--muted); margin-bottom: .35rem; }
    .exp-date {
      font-size: .8rem; font-weight: 700; color: var(--accent-dark);
      white-space: nowrap;
    }
    .exp-location { font-size: .8rem; color: var(--muted); margin-bottom: .75rem; }
    .exp-item ul {
      margin: 0 0 1rem; padding-left: 1.15rem;
      font-size: .9rem; color: var(--body);
    }
    .exp-item li { margin: .35rem 0; }
    .exp-tools {
      font-size: .8rem; color: var(--muted);
      padding-top: .75rem; border-top: 1px solid var(--line);
    }
    .exp-tools strong { color: var(--body); font-weight: 600; }

    .exp-compact {
      padding: 1rem 1.25rem;
      background: #fff; border: 1px solid var(--line);
      border-radius: var(--radius);
      font-size: .9rem; line-height: 1.55;
    }
    .exp-compact strong { color: var(--ink); font-weight: 600; }
    .exp-compact span { color: var(--muted); }

    /* Featured projects */
    .featured-hero {
      display: grid;
      grid-template-columns: 280px 1fr;
      background: #fff;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      overflow: hidden;
      margin-bottom: 1.25rem;
      box-shadow: 0 1px 2px rgba(26,35,50,.04);
    }
    .featured-hero-media {
      min-height: 240px;
      background: linear-gradient(160deg, var(--accent-soft) 0%, #fff 100%);
      display: grid;
      place-items: center;
      padding: 2rem;
      border-right: 1px solid var(--line);
    }
    .featured-hero-media img.brand {
      max-height: 56px; max-width: 80%; object-fit: contain;
    }
    .featured-hero-body { padding: 1.75rem 2rem; }
    .featured-client {
      font-size: .7rem; font-weight: 700; text-transform: uppercase;
      letter-spacing: .08em; color: var(--muted); margin-bottom: .35rem;
    }
    .featured-hero h3 { font-size: 1.3rem; margin-bottom: .5rem; }
    .featured-desc {
      font-size: .9375rem; color: var(--body); line-height: 1.65;
      margin-bottom: 1rem;
    }
    .featured-tech {
      display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .25rem;
    }
    .featured-tech span {
      font-size: .7rem; font-weight: 600; color: var(--accent-dark);
      background: var(--accent-soft); border-radius: 6px;
      padding: .28rem .55rem;
    }
    .featured-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1rem;
    }
    .featured-card {
      background: #fff; border: 1px solid var(--line);
      border-radius: var(--radius); overflow: hidden;
      display: flex; flex-direction: column;
      transition: box-shadow .2s;
    }
    .featured-card:hover { box-shadow: var(--shadow); }
    .featured-card-media {
      height: 148px; background: var(--bg);
      display: grid; place-items: center; overflow: hidden;
      border-bottom: 1px solid var(--line);
    }
    .featured-card-media img {
      width: 100%; height: 100%; object-fit: cover;
    }
    .featured-card-media img.brand {
      max-height: 44px; max-width: 72%; object-fit: contain;
    }
    .featured-card-body {
      padding: 1.15rem; flex: 1;
      display: flex; flex-direction: column; gap: .35rem;
    }
    .featured-card-body h3 { font-size: 1rem; }
    .featured-card-body p {
      font-size: .85rem; color: var(--muted);
      line-height: 1.55; flex: 1;
    }
    .featured-link {
      font-size: .85rem; font-weight: 600; color: var(--accent);
      display: inline-flex; align-items: center; gap: .35rem;
      margin-top: .35rem;
    }
    .featured-link:hover { text-decoration: underline; }
    .featured-more {
      text-align: center; margin-top: 1.75rem;
    }

    /* Portfolio */
    .filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.25rem; }
    .filter {
      padding: .4rem .85rem; border-radius: 8px;
      font-size: .8rem; font-weight: 600; font-family: inherit;
      border: 1px solid var(--line); background: #fff;
      color: var(--body); cursor: pointer;
    }
    .filter.active, .filter:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
    .portfolio-grid {
      display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
    }
    .project {
      background: #fff; border: 1px solid var(--line);
      border-radius: var(--radius); overflow: hidden;
      display: flex; flex-direction: column;
      transition: box-shadow .2s;
    }
    .project:hover { box-shadow: var(--shadow); }
    .project.featured { grid-column: span 2; }
    .project-img {
      height: 160px; background: var(--bg);
      display: grid; place-items: center; overflow: hidden;
      border-bottom: 1px solid var(--line);
    }
    .project.featured .project-img { height: 200px; }
    .project-img img { width: 100%; height: 100%; object-fit: cover; }
    .project-img .brand { max-height: 48px; max-width: 70%; object-fit: contain; }
    .project-body { padding: 1.15rem; flex: 1; display: flex; flex-direction: column; gap: .4rem; }
    .project-tag {
      font-size: .65rem; font-weight: 700; text-transform: uppercase;
      letter-spacing: .05em; color: var(--accent);
    }
    .project h3 { font-size: 1rem; }
    .project p { font-size: .85rem; color: var(--muted); flex: 1; line-height: 1.5; }
    .project a {
      font-size: .85rem; font-weight: 600; color: var(--accent);
      display: inline-flex; align-items: center; gap: .35rem; margin-top: .25rem;
    }
    .project a:hover { text-decoration: underline; }
    .project-links {
      display: flex; flex-direction: column; gap: .35rem; margin-top: .35rem;
    }

    /* Education */
    .edu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.5rem; }
    .edu-card {
      background: #fff; border: 1px solid var(--line);
      border-radius: var(--radius); padding: 1.35rem;
    }
    .edu-card h3 { margin-bottom: .5rem; }
    .edu-card p { font-size: .9rem; color: var(--body); line-height: 1.6; }
    .cert {
      display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem 1rem;
      padding: 1rem 0; border-top: 1px solid var(--line);
      font-size: .9rem;
    }
    .cert strong { color: var(--ink); font-weight: 600; flex: 1 1 280px; }
    .cert span { color: var(--muted); flex: 0 1 300px; text-align: right; }
    .cert a.cert-link {
      color: var(--ink); font-weight: 600;
      display: inline-flex; align-items: center; gap: .45rem;
    }
    .cert a.cert-link:hover { color: var(--accent); }
    .cert a.cert-link i { color: var(--accent); font-size: .85rem; }
    .edu-card a {
      color: var(--accent); font-weight: 600; font-size: .875rem;
    }
    .edu-card a:hover { text-decoration: underline; }

    /* CTA */
    .cta {
      background: var(--ink); color: #cbd5e1;
      padding: 3.5rem 0; border-radius: 0;
    }
    .cta-grid {
      display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem;
      align-items: start;
    }
    .cta h2 { color: #fff; margin-bottom: .75rem; }
    .cta .lead { color: #94a3b8; margin-bottom: 1.5rem; line-height: 1.65; }
    .cta .eyebrow { color: #5eead4; }
    .contact-grid { display: flex; flex-direction: column; gap: .6rem; }
    .contact-row {
      display: flex; align-items: center; gap: .85rem;
      padding: .85rem 1rem; background: rgba(255,255,255,.06);
      border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius);
      font-size: .875rem; color: #e2e8f0;
      transition: border-color .15s;
    }
    a.contact-row:hover { border-color: rgba(94,234,212,.4); }
    .contact-row i {
      width: 32px; height: 32px; border-radius: 8px;
      background: rgba(255,255,255,.1); color: #5eead4;
      display: grid; place-items: center; flex-shrink: 0;
    }
    .contact-row small {
      display: block; font-size: .65rem; text-transform: uppercase;
      letter-spacing: .06em; color: #64748b;
    }
    .contact-row b { display: block; color: #fff; font-weight: 600; }

    footer {
      padding: 1.5rem 0 2rem;
      font-size: .8rem; color: var(--muted);
      border-top: 1px solid var(--line);
      background: var(--surface);
    }
    .footer-inner {
      display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem;
    }

    /* Responsive */
    @media (max-width: 900px) {
      .hero-grid { grid-template-columns: 1fr; text-align: center; }
      .hero-summary { margin-inline: auto; }
      .hero-cta { justify-content: center; }
      .hero-visual { order: -1; margin-bottom: .5rem; }
      .hero-photo { width: 220px; height: 220px; }
      .clients-grid { grid-template-columns: repeat(3, 1fr); }
      .grid-3, .tools-row, .portfolio-grid, .featured-grid { grid-template-columns: repeat(2, 1fr); }
      .featured-hero { grid-template-columns: 1fr; }
      .featured-hero-media { border-right: 0; border-bottom: 1px solid var(--line); min-height: 160px; }
      .profile-grid { grid-template-columns: 1fr; gap: 1.75rem; }
      .profile-lead { max-width: none; }
      .project.featured { grid-column: span 1; }
      .cta-grid { grid-template-columns: 1fr; }
      .edu-grid { grid-template-columns: 1fr; }
      .nav-links { display: none; }
      .nav-links.open {
        display: flex; flex-direction: column;
        position: absolute; top: 64px; left: 20px; right: 20px;
        background: #fff; border: 1px solid var(--line);
        border-radius: var(--radius); padding: .5rem;
        box-shadow: var(--shadow);
      }
      .nav-toggle { display: block; }
    }
    @media (max-width: 600px) {
      .grid-3, .tools-row, .portfolio-grid, .featured-grid, .clients-grid { grid-template-columns: 1fr; }
      .cert span { text-align: left; flex-basis: 100%; }
      section { padding: 3rem 0; }
    }

    @media print {
      .nav, .hero-cta, .filters, .cta, footer { display: none !important; }
      body { background: #fff; }
      .card, .exp-item, .tool-block { break-inside: avoid; }
