/* ── RESET & VARIABLES ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink:     #1c1c1e;
  --ink-mid: #48484a;
  --ink-soft:#8e8e93;
  --bg:      #ffffff;
  --bg-s:    #f9f8f5;
  --bg-w:    #f0ebe0;
  --green:   #1a7a4a;
  --gdk:     #145e38;
  --glt:     #e4f2eb;
  --blue:    #1a6eb5;
  --blt:     #e8f0fb;
  --amber:   #b45309;
  --alt:     #fef3c7;
  --rule:    #e5e5ea;
  --r:       14px;
  --rs:      8px;
  --f:       "Plus Jakarta Sans", sans-serif;
  --fs:      "Fraunces", Georgia, serif;
  --fm:      "DM Mono", monospace;
}

html  { scroll-behavior: smooth; }
body  { background: var(--bg); color: var(--ink); font-family: var(--f);
        line-height: 1.6; -webkit-font-smoothing: antialiased; font-size: 16px; }

/* ── BUTTONS ────────────────────────────────────────────────────────────── */
.bn { font-size: 13px; font-weight: 600; color: #fff; background: var(--green);
      text-decoration: none; padding: 8px 18px; border-radius: 100px;
      display: inline-flex; align-items: center; transition: background .15s, transform .1s;
      border: none; cursor: pointer; font-family: var(--f); }
.bn:hover { background: var(--gdk); transform: translateY(-1px); }

.bg { font-size: 13px; font-weight: 500; color: var(--green); text-decoration: none;
      padding: 7px 16px; border-radius: 100px; border: 1.5px solid var(--green);
      transition: background .15s; display: inline-flex; align-items: center;
      background: none; cursor: pointer; font-family: var(--f); }
.bg:hover { background: var(--glt); }

/* ── NAV ────────────────────────────────────────────────────────────────── */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100;
      display: flex; align-items: center; justify-content: space-between;
      padding: 0 48px; height: 60px;
      background: rgba(255,255,255,.95); backdrop-filter: blur(16px);
      border-bottom: 1px solid var(--rule); }
.logo { font-size: 18px; font-weight: 700; letter-spacing: -.02em;
        color: var(--ink); text-decoration: none; }
.logo span { color: var(--green); }
.nav-links { display: flex; gap: 4px; list-style: none; }
.nav-links a { font-size: 13px; font-weight: 500; color: var(--ink-mid);
               text-decoration: none; padding: 6px 12px; border-radius: 100px;
               transition: background .15s, color .15s; }
.nav-links a:hover { background: var(--rule); color: var(--ink); }
.nav-r { display: flex; gap: 8px; align-items: center; }

/* ── HERO ───────────────────────────────────────────────────────────────── */
.hero { min-height: 100vh; padding-top: 60px;
        display: grid; grid-template-columns: 1fr 400px; }
.hl { display: flex; flex-direction: column; justify-content: center;
      padding: 64px 56px; }
.badge { display: inline-flex; align-items: center; gap: 7px;
         background: var(--glt); color: var(--gdk);
         font-family: var(--fm); font-size: 11px; letter-spacing: .06em;
         padding: 5px 13px; border-radius: 100px; margin-bottom: 24px;
         width: fit-content; }
.badge::before { content: ""; width: 6px; height: 6px; background: var(--green);
                 border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.4;transform:scale(.75)} }

h1 { font-size: clamp(34px,4.2vw,58px); font-weight: 700; line-height: 1.08;
     letter-spacing: -.03em; margin-bottom: 18px; }
h1 em { font-family: var(--fs); font-style: italic; font-weight: 300; color: var(--green); }

.hsub { font-size: clamp(15px,1.5vw,17px); color: var(--ink-mid); line-height: 1.75;
        max-width: 460px; margin-bottom: 32px; }
.ha { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; }
.ha .bn, .ha .bg { font-size: 14px; padding: 13px 26px; }

.ls { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.lsl { font-family: var(--fm); font-size: 10px; letter-spacing: .1em;
       text-transform: uppercase; color: var(--ink-soft); }
.lp { font-size: 12px; font-weight: 600; color: var(--ink-mid); background: #fff;
      padding: 5px 14px; border-radius: 100px; border: 1.5px solid var(--rule); }

.hr { background: var(--bg-w); display: flex; flex-direction: column;
      align-items: center; justify-content: center;
      padding: 48px 28px; gap: 24px; border-left: 1px solid var(--rule); }
.hr img.photo { width: 190px; height: 190px; border-radius: 50%;
                object-fit: cover; object-position: center top;
                border: 4px solid #fff; box-shadow: 0 6px 28px rgba(0,0,0,.13); display: block; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; }
.stat { background: #fff; border-radius: var(--r); padding: 14px 16px; border: 1px solid var(--rule); }
.sn { font-size: 24px; font-weight: 700; letter-spacing: -.03em; color: var(--ink);
      line-height: 1; margin-bottom: 3px; }
.sn span { color: var(--green); }
.sl { font-size: 11px; color: var(--ink-soft); font-weight: 500; }

/* ── DIVIDER ────────────────────────────────────────────────────────────── */
.div { height: 1px; background: linear-gradient(90deg,transparent,var(--rule) 20%,var(--rule) 80%,transparent); }

/* ── SECTION BASE ───────────────────────────────────────────────────────── */
section { padding: 72px 56px; }
.sa { background: var(--bg-s); }
.ey { font-family: var(--fm); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
      color: var(--ink-soft); margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.ey::before { content: ""; display: block; width: 16px; height: 1.5px; background: var(--ink-soft); }
h2 { font-size: clamp(24px,3vw,38px); font-weight: 700; letter-spacing: -.025em;
     line-height: 1.15; margin-bottom: 40px; }
h2 em { font-family: var(--fs); font-style: italic; font-weight: 300; color: var(--green); }

/* ── BUILDS ─────────────────────────────────────────────────────────────── */
.bt { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-bottom: 16px; }
.bb { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
.card { background: #fff; border: 1.5px solid var(--rule); border-radius: var(--r);
        padding: 24px; display: flex; flex-direction: column; gap: 12px;
        transition: border-color .2s, transform .2s, box-shadow .2s; }
.card:hover { border-color: var(--green); transform: translateY(-3px);
              box-shadow: 0 8px 28px rgba(26,122,74,.09); }
.tag { display: inline-flex; align-items: center; gap: 5px; font-family: var(--fm);
       font-size: 10px; letter-spacing: .07em; text-transform: uppercase;
       color: var(--gdk); background: var(--glt); padding: 3px 9px;
       border-radius: 100px; width: fit-content; }
.tag::before { content: ""; width: 5px; height: 5px; background: var(--green); border-radius: 50%; }
.tag.a { color: var(--amber); background: var(--alt); }
.tag.a::before { background: var(--amber); }
.card h3 { font-size: 18px; font-weight: 700; letter-spacing: -.02em; line-height: 1.25; }
.card p { font-size: 13.5px; color: var(--ink-mid); line-height: 1.7; flex: 1; }
.cb { display: inline-flex; align-items: center; font-family: var(--fm); font-size: 10px;
      color: var(--gdk); background: var(--glt); padding: 3px 9px; border-radius: 100px; width: fit-content; }
.stk { display: flex; flex-wrap: wrap; gap: 5px; padding-top: 10px; border-top: 1px solid var(--rule); }
.pi { font-family: var(--fm); font-size: 10px; color: var(--ink-soft); background: var(--bg-s);
      padding: 2px 9px; border-radius: 100px; border: 1px solid var(--rule); }
.cl { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.ca { font-size: 12px; font-weight: 600; color: var(--blue); text-decoration: none;
      padding: 6px 14px; border-radius: 100px; border: 1.5px solid var(--blue);
      transition: background .15s; display: inline-flex; align-items: center; }
.ca:hover { background: var(--blt); }
.ca.m { color: var(--ink-soft); border-color: var(--ink-soft); pointer-events: none;
         font-weight: 400; font-size: 11px; }
.cv { border-radius: var(--rs); overflow: hidden; border: 1px solid var(--rule);
      width: 100%; cursor: zoom-in; position: relative; }
.cv img { width: 100%; display: block; object-fit: cover; transition: opacity .2s; }
.cv:hover img { opacity: .9; }
.cv iframe { width: 100%; display: block; border: none; aspect-ratio: 16/9; }
.cv.nz { cursor: default; }
.cv:not(.nz)::after { content: "⤢"; position: absolute; bottom: 6px; right: 6px;
                       background: rgba(0,0,0,.45); color: #fff; font-size: 11px;
                       width: 22px; height: 22px; border-radius: 50%;
                       display: flex; align-items: center; justify-content: center;
                       pointer-events: none; }

/* ── CASE STUDIES ───────────────────────────────────────────────────────── */
.cases { display: flex; flex-direction: column; gap: 16px; }
.case { background: #fff; border-radius: var(--r); border: 1.5px solid var(--rule);
        padding: 32px; display: grid; grid-template-columns: 1fr 40%; gap: 32px;
        transition: box-shadow .2s; align-items: start; }
.case:hover { box-shadow: 0 5px 20px rgba(0,0,0,.06); }
.ch { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.cl2 { width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--rule);
        padding: 6px; background: #fff; object-fit: contain; flex-shrink: 0; }
.cco { font-family: var(--fm); font-size: 11px; letter-spacing: .1em;
       text-transform: uppercase; color: var(--green); margin-bottom: 2px; }
.cp { font-size: 12px; color: var(--ink-soft); }
.cr { font-size: 13px; color: var(--ink-mid); font-style: italic;
      font-family: var(--fs); margin-bottom: 12px; }
.case h3 { font-size: clamp(17px,2vw,22px); font-weight: 700; letter-spacing: -.02em;
            line-height: 1.2; margin-bottom: 10px; }
.case p { font-size: 14px; color: var(--ink-mid); line-height: 1.75; margin-bottom: 14px; }
.dec { background: var(--bg-s); border-left: 3px solid var(--green);
       border-radius: 0 var(--rs) var(--rs) 0; padding: 10px 14px; margin-bottom: 14px;
       font-size: 13px; color: var(--ink-mid); font-style: italic; }
.dec strong { color: var(--gdk); font-style: normal; font-size: 10px;
              font-family: var(--fm); letter-spacing: .08em; text-transform: uppercase;
              display: block; margin-bottom: 3px; }
.outs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.out { background: var(--bg-s); border: 1.5px solid var(--rule); border-radius: var(--rs);
       padding: 10px 14px; }
.on { font-size: 19px; font-weight: 700; letter-spacing: -.03em; color: var(--green);
      line-height: 1; margin-bottom: 2px; }
.ol { font-size: 10px; color: var(--ink-soft); font-weight: 500;
      text-transform: uppercase; letter-spacing: .05em; }
.clink { display: inline-flex; align-items: center; font-size: 13px; font-weight: 600;
         color: var(--blue); text-decoration: none; padding: 8px 18px;
         border-radius: 100px; border: 1.5px solid var(--blue);
         transition: background .15s; width: fit-content; }
.clink:hover { background: var(--blt); }
.cvis { border-radius: var(--rs); overflow: hidden; border: 1px solid var(--rule);
        position: sticky; top: 80px; cursor: zoom-in; }
.cvis img { width: 100%; display: block; object-fit: cover; max-height: 400px; }
.cvis:hover img { opacity: .92; }
.cvis.nz { cursor: default; }
.cvis video { width: 100%; display: block; border-radius: var(--rs); }

/* ── ABOUT ──────────────────────────────────────────────────────────────── */
#about { background: var(--bg-w); }
.ag { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.abio { font-size: clamp(14px,1.5vw,16px); line-height: 1.85; color: var(--ink-mid); }
.abio strong { color: var(--ink); font-weight: 600; }
.ps { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px;
      padding-top: 20px; border-top: 1px solid rgba(0,0,0,.1); }
.pi2 { display: flex; align-items: center; gap: 6px; font-size: 13px;
       color: var(--ink-mid); background: #fff; padding: 6px 14px;
       border-radius: 100px; border: 1px solid var(--rule); }
.ad { display: flex; flex-direction: column; gap: 28px; }
.bt2 { font-family: var(--fm); font-size: 10px; letter-spacing: .14em;
       text-transform: uppercase; color: var(--ink-soft); margin-bottom: 10px; }
.sw { display: flex; flex-wrap: wrap; gap: 7px; }
.si { font-family: var(--fm); font-size: 11px; color: var(--ink-mid);
      border: 1px solid var(--rule); padding: 5px 13px; border-radius: 100px;
      background: #fff; transition: border-color .15s, color .15s; }
.si:hover { border-color: var(--green); color: var(--gdk); }
.langs { display: flex; flex-direction: column; }
.lr { display: flex; align-items: center; justify-content: space-between;
      padding: 8px 0; border-bottom: 1px solid rgba(0,0,0,.08); }
.ln { font-size: 14px; color: var(--ink); font-weight: 500; }
.ll { font-family: var(--fm); font-size: 10px; color: var(--ink-soft);
      text-transform: uppercase; letter-spacing: .1em; }
.locs { display: flex; flex-wrap: wrap; gap: 8px; }
.loc { font-size: 13px; font-weight: 500; color: var(--ink-mid);
       border: 1.5px solid var(--rule); padding: 6px 16px;
       border-radius: 100px; background: #fff; }

/* ── CONTACT ────────────────────────────────────────────────────────────── */
#contact { background: #fff; text-align: center; padding: 96px 56px; }
#contact .ey { justify-content: center; }
.ch2 { font-size: clamp(28px,4vw,50px); font-weight: 700; letter-spacing: -.03em;
       line-height: 1.1; margin-bottom: 12px; max-width: 600px;
       margin-left: auto; margin-right: auto; }
.ch2 em { font-family: var(--fs); font-style: italic; font-weight: 300; color: var(--green); }
.cs { font-size: 15px; color: var(--ink-mid); margin-bottom: 36px; }
.ca2 { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ── LIGHTBOX ───────────────────────────────────────────────────────────── */
.lb { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.88);
      z-index: 300; align-items: center; justify-content: center;
      padding: 24px; cursor: zoom-out; }
.lb.open { display: flex; }
.lb img { max-width: 90vw; max-height: 88vh; border-radius: var(--rs);
          box-shadow: 0 24px 80px rgba(0,0,0,.5); }
.lbc { position: fixed; top: 20px; right: 24px; color: #fff; font-size: 32px;
       cursor: pointer; background: none; border: none; font-family: var(--f); line-height: 1; }

/* ── RESUME MODAL ───────────────────────────────────────────────────────── */
.ov { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.5);
      z-index: 200; align-items: center; justify-content: center; }
.ov.open { display: flex; }
.mod { background: #fff; border-radius: var(--r); padding: 32px;
       max-width: 400px; width: 90%; box-shadow: 0 20px 60px rgba(0,0,0,.2); }
.mod h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; letter-spacing: -.02em; }
.mod p { font-size: 14px; color: var(--ink-mid); margin-bottom: 20px; line-height: 1.6; }
.ro { display: flex; flex-direction: column; gap: 10px; }
.ropt { display: flex; flex-direction: column;text-align: center; align-items: center; justify-content: space-between;
        padding: 14px 18px; border: 1.5px solid var(--rule); border-radius: var(--rs);
        text-decoration: none; color: var(--ink); font-weight: 600; font-size: 14px;
        transition: border-color .15s, background .15s; }
.ropt:hover { border-color: var(--green); background: var(--glt); }
.mc { margin-top: 14px; width: 100%; padding: 10px; background: none;
      border: 1.5px solid var(--rule); border-radius: var(--rs); font-size: 13px;
      cursor: pointer; color: var(--ink-mid); font-family: var(--f);
      transition: background .15s; }
.mc:hover { background: var(--rule); }

/* ── FOOTER ─────────────────────────────────────────────────────────────── */
footer { border-top: 1px solid var(--rule); padding: 20px 56px;
         display: flex; align-items: center; justify-content: space-between;
         background: #fff; }
.fc { font-family: var(--fm); font-size: 11px; color: var(--ink-soft); }
.fl { display: flex; gap: 18px; }
.fl a { font-size: 13px; font-weight: 500; color: var(--ink-mid);
        text-decoration: none; transition: color .15s; }
.fl a:hover { color: var(--green); }

/* ── ANIMATIONS ─────────────────────────────────────────────────────────── */
@keyframes fadeUp { from{opacity:0;transform:translateY(16px)} to{opacity:1;transform:translateY(0)} }
.badge    { animation: fadeUp .5s ease both; }
h1        { animation: fadeUp .55s .08s ease both; }
.hsub     { animation: fadeUp .55s .16s ease both; }
.ha       { animation: fadeUp .55s .24s ease both; }
.ls       { animation: fadeUp .55s .32s ease both; }

/* ── RESPONSIVE ─────────────────────────────────────────────────────────── */
.hr-mobile { display: none; }

@media (max-width: 960px) {
  nav { padding: 0 18px; }
  .nav-links { display: none; }
  section { padding: 52px 20px; }
  .hero { 
    grid-template-columns: 1fr; 
    min-height: auto;
  }
  .hl { 
    padding: 36px 20px;
  }
  .hr { 
    display: none;
  }
  .hr-mobile { 
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--rule);
  }
  .hr-mobile img.photo { 
    width: 120px; 
    height: 120px; 
    flex-shrink: 0; 
    border-radius: 50%; 
    object-fit: cover; 
    object-position: center top; 
    border: 4px solid #fff; 
    box-shadow: 0 6px 28px rgba(0,0,0,.13);
    margin-bottom: 20px;
  }
  .hr-mobile .stats { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 8px; 
    width: 100%;
  }
  .hr-mobile .stat { 
    padding: 10px 12px;
    font-size: 13px;
  }
  .hr-mobile .sn { 
    font-size: 16px; 
  }
  .hr-mobile .sl { 
    font-size: 10px; 
  }
  .ha { flex-direction: row; gap: 8px; }
  .ha .bn, .ha .bg { flex: 1; justify-content: center; text-align: center;
                     padding: 12px 12px; font-size: 13px; }
  .bt, .bb { grid-template-columns: 1fr; }
  .case { grid-template-columns: 1fr; gap: 16px; }
  .cvis { position: static; order: -1; max-height: 200px; }
  .cvis img { max-height: 200px; }
  .ag { grid-template-columns: 1fr; gap: 36px; }
  footer { flex-direction: column; gap: 12px; text-align: center; }
  #contact { padding: 64px 20px; }
  .ca2 { display: flex; gap: 10px; justify-content: center; }
  .ca2 .bn, .ca2 .bg { flex: 1; max-width: 160px; justify-content: center; }
}
