:root { --ac: #10b981; --ac-d: #047857; --bg: #0f1316; --card: #171c20; --line: #262d33; --tx: #e5e7eb; --mu: #9aa4af;
    --display: "Bricolage Grotesque", system-ui, sans-serif; --font: "Instrument Sans", system-ui, sans-serif; }
  * { box-sizing: border-box; } html { scroll-behavior: smooth; }
  body { margin: 0; background: var(--bg); color: var(--tx); font: 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
  a { color: inherit; }
  .wrap { max-width: 1040px; margin: 0 auto; padding: 0 22px; }
  .sample { background: var(--ac); color: #04241a; text-align: center; font-size: 13px; font-weight: 600; padding: 7px 12px; }
  .sample a { color: #04241a; }

  /* hero */
  .hero { position: relative; padding: 70px 0 60px; overflow: hidden; }
  .hero::before { content: ""; position: absolute; width: 640px; height: 640px; right: -220px; top: -260px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--ac) 38%, transparent), transparent 65%); filter: blur(10px); }
  .hero .wrap { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 34px; align-items: center; }
  .avatar { width: 132px; height: 132px; border-radius: 28px; background: linear-gradient(135deg, var(--ac), #0e7490); display: grid; place-items: center; font: 800 46px var(--display); color: #fff; box-shadow: 0 20px 50px rgba(0,0,0,.4); overflow: hidden; }
  .avatar img { width: 100%; height: 100%; object-fit: cover; }
  .open { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: color-mix(in srgb, var(--ac) 45%, #fff); background: color-mix(in srgb, var(--ac) 14%, transparent); border: 1px solid color-mix(in srgb, var(--ac) 35%, transparent); padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; }
  .open i { width: 8px; height: 8px; border-radius: 50%; background: var(--ac); box-shadow: 0 0 0 0 var(--ac); animation: pulse 2s infinite; }
  @keyframes pulse { 70% { box-shadow: 0 0 0 8px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
  h1 { font: 800 clamp(38px, 6vw, 64px)/1 var(--display); letter-spacing: -1.6px; margin: 0 0 10px; color: #fff; }
  .role { font-size: 19px; color: var(--mu); margin: 0 0 22px; } .role b { color: var(--tx); font-weight: 600; }
  .btns { display: flex; flex-wrap: wrap; gap: 10px; }
  .btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 10px; font: 600 15px var(--font); text-decoration: none; border: 1.5px solid var(--line); color: #fff; transition: background .2s, border-color .2s, transform .1s; }
  .btn:hover { border-color: #3a434b; background: rgba(255,255,255,.04); } .btn:active { transform: translateY(1px); }
  .btn.pri { background: var(--ac); border-color: var(--ac); color: #04241a; } .btn.pri:hover { background: color-mix(in srgb, var(--ac) 85%, #fff); }
  .btn svg { width: 17px; height: 17px; }

  /* stats */
  .stats { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 18px; background: var(--card); margin-top: 6px; }
  .stat { padding: 22px 26px; border-right: 1px solid var(--line); } .stat:last-child { border-right: 0; }
  .stat b { display: block; font: 800 34px/1.1 var(--display); color: #fff; letter-spacing: -.5px; } .stat span { color: var(--mu); font-size: 14px; }

  section { padding: 64px 0 0; }
  h2 { font: 750 28px var(--display); letter-spacing: -.6px; color: #fff; margin: 0 0 20px; display: flex; align-items: center; gap: 12px; }
  h2::before { content: ""; width: 22px; height: 3px; border-radius: 2px; background: var(--ac); }
  .about { font-size: 18px; color: #cbd2d9; max-width: 760px; margin: 0; }

  /* work gallery */
  .gallery { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 220px 220px; gap: 12px; }
  .gallery figure { margin: 0; position: relative; border-radius: 16px; overflow: hidden; background: var(--card); }
  .gallery figure:first-child { grid-row: span 2; }
  .gallery img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s; }
  .gallery figure:hover img { transform: scale(1.04); }
  .gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 18px 14px; background: linear-gradient(transparent, rgba(0,0,0,.78)); font-size: 14px; color: #fff; }
  .gallery figcaption b { display: block; font-size: 15.5px; }

  /* experience */
  .tl { border-left: 2px solid var(--line); margin-left: 6px; }
  .job { position: relative; padding: 0 0 28px 28px; }
  .job::before { content: ""; position: absolute; left: -8px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--bg); border: 3px solid var(--ac); }
  .job .top { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
  .job h3 { margin: 0; font: 700 19px var(--display); color: #fff; } .job .when { color: var(--mu); font-size: 14px; }
  .job .co { color: var(--ac); font-weight: 600; font-size: 14.5px; margin: 2px 0 8px; }
  .job ul { margin: 0; padding-left: 18px; color: #cbd2d9; } .job li { margin: 4px 0; } .job li b { color: #fff; }

  .two { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
  .card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
  .card h2 { font-size: 22px; margin-bottom: 16px; }
  .tags { display: flex; flex-wrap: wrap; gap: 8px; }
  .tags span { border: 1px solid var(--line); padding: 7px 12px; border-radius: 8px; font-size: 14px; color: #dfe4e8; }
  .lic { list-style: none; padding: 0; margin: 0; } .lic li { display: flex; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 15px; } .lic li:last-child { border: 0; }
  .lic svg { width: 20px; height: 20px; color: var(--ac); flex: none; margin-top: 2px; } .lic small { display: block; color: var(--mu); }

  .quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
  .quotes blockquote { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 26px 26px 22px; position: relative; }
  .quotes blockquote::before { content: "\201C"; position: absolute; top: 2px; right: 22px; font: 800 70px/1 var(--display); color: var(--ac); opacity: .35; }
  .quotes p { margin: 0 0 16px; font-size: 17px; color: #e5e7eb; }
  .quotes cite { font-style: normal; color: var(--mu); font-size: 14px; } .quotes cite b { color: #fff; margin-right: 6px; }
  .contact { margin: 64px 0 0; border-radius: 22px; padding: 40px; background: linear-gradient(135deg, color-mix(in srgb, var(--ac) 22%, var(--card)), var(--card)); border: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
  .contact h2 { margin: 0 0 4px; font-size: 30px; } .contact h2::before { display: none; } .contact p { margin: 0; color: #cbd2d9; }
  footer { padding: 40px 0 34px; color: #6b7480; font-size: 13px; text-align: center; } footer a { color: #9aa4af; text-decoration: none; } footer a:hover { color: #fff; }

  .rv { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; } .rv.in { opacity: 1; transform: none; }
  @media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; } .open i { animation: none; } }
  @media (max-width: 760px) {
    .hero { padding: 44px 0 40px; } .hero .wrap { grid-template-columns: 1fr; gap: 22px; } .avatar { width: 96px; height: 96px; border-radius: 22px; font-size: 34px; }
    .btns .btn { flex: 1 1 auto; justify-content: center; }
    .stats { grid-template-columns: 1fr 1fr 1fr; } .stat { padding: 16px 12px; } .stat b { font-size: 24px; } .stat span { font-size: 12.5px; line-height: 1.3; display: block; }
    .gallery { grid-template-columns: 1fr; grid-template-rows: 240px 180px 180px; } .gallery figure:first-child { grid-row: auto; }
    .two, .quotes { grid-template-columns: 1fr; } .contact { padding: 28px 22px; } .contact .btn { width: 100%; justify-content: center; }
    section { padding-top: 50px; }
  }
  .missing { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 30px; } .missing h1 { font-size: 34px; } .missing p { color: var(--mu); }
  .gallery { grid-auto-rows: 220px; }
  .gallery.g1 { grid-template-columns: 1fr; grid-template-rows: 400px; } .gallery.g1 figure:first-child { grid-row: auto; }
  .gallery.g2 { grid-template-columns: 1fr 1fr; grid-template-rows: 320px; } .gallery.g2 figure:first-child { grid-row: auto; }
  @media (max-width: 760px) { .gallery, .gallery.g1, .gallery.g2 { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-rows: 210px; } .gallery figure:first-child { grid-row: auto; } .stats { grid-template-columns: repeat(3, 1fr) !important; } }
