 :root {
  --paper: #f7f7f4; --white: #fff; --ink: #202321; --muted: #747a75;
  --line: #dedfd9; --navy: #243d50; --sage: #dce5dc; --lime: #d4e28d;
  --serif: "Manrope", sans-serif; --sans: "DM Sans", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.container { width: min(1160px, calc(100% - 64px)); margin-inline: auto; }
.site-header { height: 78px; position: sticky; top: 0; z-index: 20; background: rgba(247,247,244,.9); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(222,223,217,.8); }
.nav { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { font: 800 25px var(--serif); letter-spacing: -2px; }
.brand span, h1 span, h2 span { color: #82938a; }
.nav-links { display: flex; align-items: center; gap: 34px; font-size: 12px; font-weight: 600; color: #535a55; }
.nav-links a:hover, .social-links a:hover { color: var(--navy); }
.nav-contact { padding: 12px 17px; border: 1px solid var(--line); border-radius: 3px; color: var(--ink); }
.nav-contact span { margin-left: 10px; }
.menu-toggle { display: none; border: 0; background: transparent; font-size: 22px; }
.hero { min-height: 690px; padding-top: 90px; padding-bottom: 92px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; position: relative; }
.eyebrow, .section-kicker, .hero-meta, .scroll-cue, .project-topline, .visual-caption, .timeline-date { font-size: 10px; letter-spacing: 1.4px; font-weight: 700; }
.eyebrow { color: #5f6c63; display: flex; align-items: center; gap: 10px; }
.status-dot { width: 7px; height: 7px; background: #91a98f; border-radius: 50%; box-shadow: 0 0 0 4px #e4ebe1; }
.hello { margin: 48px 0 5px; color: var(--muted); font-size: 17px; }
h1, h2, h3, p { margin-top: 0; }
h1 { font: 800 clamp(58px, 7vw, 92px)/.99 var(--serif); letter-spacing: -6px; margin-bottom: 24px; }
.hero-role { font-size: 14px; font-weight: 600; }
.role-line { display: inline-block; height: 1px; width: 30px; vertical-align: middle; background: #aeb6ae; margin: 0 10px; }
.hero-description { max-width: 470px; color: var(--muted); line-height: 1.85; font-size: 14px; }
.hero-actions { display: flex; align-items: center; gap: 26px; margin-top: 32px; }
.button { display: inline-flex; align-items: center; gap: 25px; padding: 16px 20px; font-size: 12px; font-weight: 700; border-radius: 2px; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-3px); }
.button-dark { background: var(--ink); color: white; }
.button-dark:hover { background: var(--navy); }
.text-link { font-size: 12px; font-weight: 700; border-bottom: 1px solid #9da49d; padding-bottom: 5px; }
.text-link span { margin-left: 7px; }
.hero-meta { display: flex; gap: 25px; margin-top: 68px; color: #8a908a; font-size: 8px; letter-spacing: 1.1px; }
.hero-visual { position: relative; min-height: 470px; display: grid; place-items: center; }
.portrait-frame { position: relative; width: min(340px, 75%); height: 420px; background: #e7e9e2; z-index: 2; padding: 12px; transform: rotate(2deg); box-shadow: 18px 20px 0 #e9ece5; }
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; display: block; background: #e1e5de; }
.portrait-note { position: absolute; bottom: 22px; left: -22px; background: var(--white); padding: 12px 16px; font-size: 10px; box-shadow: 0 8px 30px #27382b12; }
.portrait-note span { color: #91a18f; margin-right: 12px; font-weight: 700; }
.orbit { position: absolute; border: 1px solid #d8ded5; border-radius: 50%; }
.orbit-one { width: 470px; height: 470px; }
.orbit-two { width: 530px; height: 530px; border-style: dashed; opacity: .6; }
.hero-stamp { position: absolute; z-index: 3; right: 0; bottom: 28px; font: 800 11px/1.5 var(--serif); letter-spacing: 1px; transform: rotate(-8deg); color: var(--navy); }
.hero-stamp span { display: block; font-size: 28px; color: #9bad91; }
.scroll-cue { position: absolute; bottom: 28px; left: 0; color: #929991; font-size: 8px; display: flex; align-items: center; gap: 12px; }
.scroll-cue span { height: 28px; width: 1px; background: #a8b1a6; }
.section { padding: 112px 0; }
.section-about { background: #eeefea; }
.two-column { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; }
.section-kicker { color: #89948a; margin-bottom: 28px; }
h2 { font: 800 clamp(38px, 4.6vw, 58px)/1.08 var(--serif); letter-spacing: -3px; margin-bottom: 0; }
.about-copy { padding-top: 36px; max-width: 570px; }
.about-copy p { color: var(--muted); font-size: 14px; line-height: 1.9; }
.about-copy .lead { font-size: 19px; color: #333a35; line-height: 1.6; }
.about-facts { display: flex; gap: 42px; border-top: 1px solid #d5d9d1; padding-top: 25px; margin-top: 35px; }
.about-facts div { display: grid; gap: 7px; }
.about-facts strong { font: 800 22px var(--serif); }
.about-facts span { color: #858d85; font-size: 10px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; margin-bottom: 54px; gap: 40px; }
.section-intro { max-width: 330px; color: var(--muted); font-size: 13px; line-height: 1.8; margin-bottom: 4px; }
.skills-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.skill-card { padding: 28px 23px 32px 0; min-height: 220px; border-right: 1px solid var(--line); margin-right: 23px; }
.skill-card:last-child { border: 0; margin: 0; }
.skill-number { font-size: 10px; color: #98a397; }
.skill-card h3 { font: 700 18px var(--serif); margin: 30px 0 12px; letter-spacing: -.5px; }
.skill-card p { font-size: 11px; font-weight: 700; line-height: 1.8; min-height: 40px; }
.skill-card small { display: block; color: var(--muted); font-size: 11px; line-height: 1.7; }
.small-note, .project-disclaimer { color: #929991; font-size: 10px; margin-top: 20px; line-height: 1.7; }
.projects-section { background: #eeefea; }
.project-list { display: grid; gap: 24px; }
.project-card { display: grid; grid-template-columns: 1fr 1fr; background: var(--paper); min-height: 350px; }
.project-visual { min-height: 350px; position: relative; display: grid; place-items: center; overflow: hidden; }
.visual-computer { background: #dce5dc; }
.visual-kerjoo { background: #e4e3dc; }
.visual-nfc { background: #dfe4e7; }
.visual-caption { position: absolute; left: 25px; bottom: 22px; color: #738076; font-size: 8px; }
.scan-window { width: 205px; height: 235px; border: 1px solid #82978a; position: relative; display: grid; place-items: center; background: #edf1e9; box-shadow: 0 18px 45px #50675a20; }
.scan-bottle { width: 64px; height: 145px; border: 2px solid #6f8978; border-radius: 13px 13px 8px 8px; position: relative; background: linear-gradient(90deg,#c9d9c8,#e9eee3 55%,#b9cdbd); }
.scan-bottle:before { content:""; position:absolute; width:28px; height:20px; border:2px solid #6f8978; border-bottom:0; border-radius:5px 5px 0 0; top:-21px; left:16px; }
.scan-bottle:after { content:""; position:absolute; inset:30px 9px; border-top:1px solid #93aa96; border-bottom:1px solid #93aa96; }
.scan-label { position: absolute; right: -47px; top: 40px; font-size: 7px; letter-spacing: 1px; color: #55715e; transform: rotate(90deg); }
.scan-corner { position:absolute; width:15px; height:15px; border-color:#6e8b75; border-style:solid; }
.c1 { top:8px;left:8px;border-width:1px 0 0 1px; }.c2 {top:8px;right:8px;border-width:1px 1px 0 0;}.c3 {bottom:8px;left:8px;border-width:0 0 1px 1px;}.c4 {bottom:8px;right:8px;border-width:0 1px 1px 0;}
.browser-mock { width: 78%; max-width: 380px; height: 220px; background: #fafaf7; box-shadow: 0 20px 55px #3332; transform: rotate(-2deg); }
.browser-bar { height: 27px; background: #f2f2ed; display: flex; align-items: center; gap: 5px; padding: 0 10px; border-bottom: 1px solid #e5e5df; }
.browser-bar i { width: 5px; height: 5px; border-radius: 50%; background: #c2c8bd; }
.browser-bar span { font-size: 7px; color: #7e867d; margin-left: 8px; }
.browser-body { display: flex; height: calc(100% - 27px); padding: 20px 14px; gap: 15px; }
.mock-sidebar { width: 24%; background: #e8ece5; }
.mock-main { flex: 1; }
.mock-main b { font: 700 14px var(--serif); display: block; margin-bottom: 14px; }
.mock-search { height: 20px; border: 1px solid #e1e4dc; margin-bottom: 12px; }
.mock-job { height: 43px; border: 1px solid #e7e8e2; margin-bottom: 8px; background: linear-gradient(90deg,#dfe8dd 30%,transparent 30%); }
.mock-job.short { width: 80%; }
.nfc-card { width: 190px; height: 265px; background: #243d50; color: white; border-radius: 13px; padding: 23px; box-shadow: 14px 17px 0 #c7d0d2; transform: rotate(8deg); position: relative; z-index: 2; }
.nfc-mark { font: 800 46px var(--serif); color: #d5e3d5; }
.nfc-wave { position: absolute; right: 22px; top: 35px; font-size: 29px; letter-spacing: -9px; transform: rotate(90deg); color: #b9d0c2; }
.nfc-card span { position: absolute; bottom: 42px; left: 23px; font-size: 7px; letter-spacing: 1.5px; color: #c6d2cb; }
.nfc-card b { position: absolute; bottom: 17px; left: 23px; font-size: 11px; letter-spacing: 2px; }
.tap-ripple { position: absolute; width: 310px; height: 310px; border: 1px solid #aebfc0; border-radius: 50%; }
.tap-ripple:before,.tap-ripple:after { content:""; position:absolute; inset:25px; border:1px solid #b8c7c7; border-radius:50%; }
.tap-ripple:after { inset:50px; }
.project-content { padding: 42px 48px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.project-topline { width: 100%; display: flex; justify-content: space-between; color: #929a91; font-size: 8px; }
.project-content h3 { font: 800 30px var(--serif); letter-spacing: -1.5px; margin: 27px 0 13px; }
.project-summary { color: var(--muted); font-size: 12px; line-height: 1.85; max-width: 430px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 7px; margin: 8px 0 24px; }
.tag-list span { border: 1px solid var(--line); border-radius: 2px; padding: 6px 8px; font-size: 9px; color: #626b63; }
.project-link { border: 0; border-bottom: 1px solid #9ca69a; background: transparent; padding: 0 0 6px; cursor: pointer; font-size: 11px; font-weight: 700; }
.project-link span { margin-left: 12px; }
.project-link:hover { color: var(--navy); }
.timeline { border-top: 1px solid var(--line); }
.timeline-item { padding: 28px 0 30px; border-bottom: 1px solid var(--line); }
.timeline-date { color: #8c978d; font-size: 9px; }
.timeline-item h3 { font: 700 20px var(--serif); margin: 15px 0 6px; }
.timeline-item p { font-size: 13px; color: #59615a; margin-bottom: 9px; }
.timeline-detail { color: #8b928a; font-size: 11px; }
.contact-section { background: #243d50; color: white; text-align: center; padding: 105px 0 75px; }
.contact-section .section-kicker { color: #b5c4b8; }
.contact-section h2 { font-size: clamp(43px, 6vw, 70px); }
.contact-section h2 span { color: #c9d7c9; }
.contact-copy { color: #c0cbc5; font-size: 13px; margin: 25px auto 30px; max-width: 440px; line-height: 1.8; }
.button-light { background: #f4f5ef; color: #263b4a; }
.social-links { display: flex; justify-content: center; gap: 34px; margin-top: 80px; color: #d1d9d4; font-size: 11px; }
.social-links span { color: #8fa39a; }
.footer { padding: 22px 0; }
.footer .container { display: flex; align-items: center; justify-content: space-between; color: #8b928a; font-size: 9px; }
.footer .brand { color: var(--ink); font-size: 20px; }
.project-dialog { width: min(620px, calc(100% - 32px)); border: 1px solid var(--line); padding: 46px; background: var(--paper); color: var(--ink); box-shadow: 0 25px 90px #17251e33; }
.project-dialog::backdrop { background: #17251e99; backdrop-filter: blur(4px); }
.dialog-close { position: absolute; top: 12px; right: 17px; border: 0; background: transparent; font-size: 30px; cursor: pointer; color: #69736b; }
.project-dialog h2 { font-size: 36px; margin-bottom: 18px; }
.dialog-description { color: var(--muted); font-size: 13px; line-height: 1.8; }
.dialog-block { border-top: 1px solid var(--line); padding-top: 18px; margin-top: 20px; }
.dialog-block h3 { font: 700 14px var(--serif); margin-bottom: 8px; }
.dialog-block p { color: var(--muted); font-size: 12px; line-height: 1.8; }
.dialog-reminder { background: #edf0e9; padding: 12px; color: #69776c; font-size: 10px; line-height: 1.6; margin: 24px 0 0; }
@media (max-width: 850px) {
 .container { width: min(100% - 40px, 680px); }
 .hero { min-height: auto; padding-top: 75px; padding-bottom: 100px; grid-template-columns: 1fr; gap: 55px; }
 .hero-visual { min-height: 430px; }
 .portrait-frame { height: 370px; width: 285px; }
 .orbit-one { width: 400px; height: 400px; }.orbit-two { width: 450px; height: 450px; }
 .hero-meta { margin-top: 45px; flex-wrap: wrap; }
 .scroll-cue { bottom: 25px; }
 .two-column { grid-template-columns: 1fr; gap: 30px; }
 .about-copy { padding-top: 0; }
 .section { padding: 80px 0; }
 .section-heading { align-items: flex-start; flex-direction: column; gap: 20px; }
 .skills-grid { grid-template-columns: repeat(2,1fr); }
 .skill-card:nth-child(2) { border-right: 0; margin-right: 0; }
 .skill-card:nth-child(3), .skill-card:nth-child(4) { border-top: 1px solid var(--line); }
 .project-card { grid-template-columns: 1fr; }
 .project-visual { min-height: 300px; }
 .project-content { padding: 34px; }
 .project-reverse .project-visual { order: 0; }
 .project-reverse .project-content { order: 1; }
}
@media (max-width: 560px) {
 .container { width: calc(100% - 36px); }
 .site-header { height: 68px; }
 .menu-toggle { display: block; }
 .nav-links { display: none; position: absolute; top: 67px; left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 20px; flex-direction: column; align-items: flex-start; gap: 20px; }
 .nav-links.open { display: flex; }
 .hero { padding-top: 58px; }
 .hello { margin-top: 38px; }
 h1 { font-size: 61px; letter-spacing: -4px; }
 .hero-role { line-height: 1.8; }
 .hero-description { font-size: 13px; }
 .hero-meta { font-size: 7px; gap: 12px 20px; }
 .hero-visual { min-height: 370px; }
 .portrait-frame { width: 245px; height: 330px; }
 .orbit-one { width: 330px; height: 330px; }.orbit-two { width: 370px; height: 370px; }
 .hero-stamp { right: 2px; bottom: 10px; }
 .section { padding: 68px 0; }
 h2 { letter-spacing: -2px; }
 .about-facts { gap: 20px; flex-wrap: wrap; }
 .about-facts strong { font-size: 18px; }
 .skills-grid { grid-template-columns: 1fr; }
 .skill-card, .skill-card:nth-child(2) { border-right: 0; border-bottom: 1px solid var(--line); border-top: 0; margin: 0; padding: 22px 0; min-height: auto; }
 .skill-card h3 { margin: 15px 0 8px; }
 .skill-card p { min-height: auto; }
 .skill-card:last-child { border-bottom: 0; }
 .project-visual { min-height: 260px; }
 .project-content { padding: 28px 22px; }
 .project-content h3 { font-size: 26px; }
 .contact-section { padding: 75px 0 55px; }
 .social-links { margin-top: 55px; gap: 18px; flex-wrap: wrap; }
 .footer .container { gap: 12px; flex-wrap: wrap; }
 .footer .container > span:nth-child(2) { order: 3; width: 100%; }
 .project-dialog { padding: 38px 24px 25px; }
}

 NFC Tap Tap project image slot: add assets/nfc-tap-tap.jpg to show your own photo 
.nfc-project-visual { display: block; }
.project-photo { width: 100%; height: 100%; min-height: 350px; position: absolute; inset: 0; object-fit: cover; }
.nfc-placeholder { position: absolute; inset: 0; display: none; place-items: center; overflow: hidden; }
.nfc-placeholder p { position: absolute; bottom: 42px; z-index: 3; color: #53666b; font-size: 10px; letter-spacing: .8px; text-transform: uppercase; }
.nfc-placeholder .nfc-card { margin-top: -25px; }
@media (max-width: 850px) { .project-photo { min-height: 300px; } }
@media (max-width: 560px) { .project-photo { min-height: 260px; } }
 Keep hero content and portrait side by side 
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.hero-copy {
  align-self: center;
}

.hero-visual {
  align-self: center;
  grid-column: 2;
  grid-row: 1;
}

 Keep action buttons in one row 
.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 18px;
}




/* FINAL MOBILE RESPONSIVE FIX */
@media screen and (max-width: 560px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .container {
    width: calc(100% - 36px);
    max-width: 100%;
  }

  .hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    min-height: auto;
    padding-top: 40px;
    padding-bottom: 45px;
    gap: 30px;
  }

  .hero-copy {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    min-width: 0;
  }

  .hero-visual {
    grid-column: 1;
    grid-row: 2;
    width: 100%;
    min-width: 0;
    min-height: 350px;
    margin: 0;
    display: grid;
    place-items: center;
  }

  h1 {
    font-size: clamp(42px, 12vw, 58px);
    letter-spacing: -3px;
    overflow-wrap: break-word;
  }

  .hero-actions {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    width: 100%;
  }

  .hero-actions .button {
    flex: 1 1 130px;
    justify-content: space-between;
    min-width: 0;
  }

  .hero-actions .text-link {
    flex-basis: 100%;
    width: fit-content;
    align-self: flex-start;
  }

  .portrait-frame {
    width: min(245px, 75%);
    height: 330px;
    margin: auto;
  }

  .orbit-one {
    width: 330px;
    height: 330px;
  }

  .orbit-two {
    width: 370px;
    height: 370px;
  }

  .hero-meta {
    flex-wrap: wrap;
    margin-top: 30px;
  }

  .scroll-cue {
    bottom: 8px;
  }
}
/* FIX GAP MOBILE ONLY */
@media screen and (max-width: 560px) {
  body {
    overflow-x: clip;
  }

  .hero-visual {
    overflow: hidden;
  }

  .orbit-one {
    width: 280px;
    height: 280px;
  }

  .orbit-two {
    width: 320px;
    height: 320px;
  }

  .portrait-note {
    left: 0;
  }

  .hero-stamp {
    right: 8px;
  }
}