/* Boybi Aulia Putra — minimalist portfolio */
:root {
  --bg: #f7f7f5;
  --surface: #ffffff;
  --muted: #efefec;
  --ink: #171717;
  --text: #555550;
  --soft: #85857e;
  --line: #deded8;
  --accent: #a7c7a2;
  --font: "DM Sans", sans-serif;
  --display: "Manrope", sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { background: var(--bg); color: var(--ink); font-family: var(--font); line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.container { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.progress-bar { position: fixed; inset: 0 auto auto 0; height: 3px; width: 0; background: #789875; z-index: 1000; }
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(247,247,245,.88); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(222,222,216,.75); }
.nav { height: 78px; display: flex; align-items: center; justify-content: space-between; }
.brand { font: 800 1.35rem var(--display); letter-spacing: -.09em; }
.brand span { color: #789875; }
.nav-links { display: flex; align-items: center; gap: 34px; font-size: .88rem; color: #555; }
.nav-links a { transition: color .2s ease; }
.nav-links a:hover, .text-link:hover { color: #789875; }
.nav-contact { color: var(--ink) !important; font-weight: 700; }
.nav-contact span, .text-link span { color: #789875; }
.menu-toggle { display: none; background: none; border: 0; cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 6px; }
.section { padding-block: 118px; }
.hero { min-height: 660px; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 70px; padding-top: 92px; padding-bottom: 100px; }
.eyebrow { color: #77776f; font-size: .7rem; font-weight: 700; letter-spacing: .16em; }
.status-dot { display: inline-block; width: 7px; height: 7px; background: #86a982; border-radius: 50%; margin: 0 8px 1px 0; box-shadow: 0 0 0 4px rgba(134,169,130,.13); }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.055em; line-height: 1.12; }
h1 { font-size: clamp(2.7rem, 5.2vw, 4.7rem); font-weight: 600; margin: 25px 0 22px; max-width: 720px; }
h1 span, h2 span { color: #888880; }
.hero-description { max-width: 540px; color: var(--text); font-size: 1.05rem; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 25px; padding: 14px 20px; border-radius: 5px; font-weight: 600; font-size: .88rem; transition: transform .25s ease, background .25s ease; }
.button:hover { transform: translateY(-3px); }
.button-dark { background: var(--ink); color: white; }
.button-dark:hover { background: #3b4939; }
.text-link { font-size: .9rem; font-weight: 700; transition: color .2s ease; }
.hero-meta { display: flex; gap: 56px; margin-top: 72px; }
.hero-meta div { display: grid; gap: 4px; }
.meta-label { color: #999990; font-size: .62rem; font-weight: 700; letter-spacing: .13em; }
.hero-meta strong { font-size: .85rem; font-weight: 600; }
.hero-visual { position: relative; min-height: 410px; display: grid; place-items: center; }
.portrait-card { width: min(100%, 370px); height: 410px; padding: 22px; background: #e9e9e4; border: 1px solid #deded8; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.portrait-card::before, .portrait-card::after { content: ""; position: absolute; border: 1px solid rgba(90,100,85,.18); border-radius: 50%; width: 390px; height: 390px; left: 50%; top: 50%; transform: translate(-50%,-50%); }
.portrait-card::after { width: 290px; height: 290px; }
.portrait-top, .portrait-bottom { display: flex; justify-content: space-between; gap: 12px; font-size: .58rem; letter-spacing: .12em; color: #77776f; font-weight: 700; z-index: 1; }
.portrait-bottom { flex-direction: column; }
.portrait-bottom span:last-child { font-size: .5rem; color: #96968e; }
.monogram { position: relative; z-index: 1; font: 800 clamp(4.5rem, 10vw, 7rem)/1 var(--display); letter-spacing: -.14em; text-align: center; color: #4d554b; }
.monogram span { color: #9eae98; }
.floating-note { position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 12px 15px; background: white; box-shadow: 0 12px 35px rgba(0,0,0,.07); border: 1px solid #ecece8; border-radius: 5px; font-size: .72rem; line-height: 1.35; font-weight: 600; }
.note-one { top: 65px; left: -35px; }
.note-two { bottom: 62px; right: -28px; }
.note-icon { width: 30px; height: 30px; display: grid; place-items: center; background: #eff2ed; border-radius: 4px; color: #637c60; font-size: 1rem; }
.intro-strip { background: #eaeae6; border-block: 1px solid #deded8; }
.intro-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.intro-inner p { font: 700 .7rem var(--display); letter-spacing: .12em; }
.intro-inner span { color: #77776f; font-size: .65rem; letter-spacing: .12em; }
.section-heading { margin-bottom: 58px; }
.section-heading h2 { font-size: clamp(2.5rem, 4.5vw, 4rem); font-weight: 600; margin-top: 17px; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; }
.large-copy { font: 500 clamp(1.5rem, 2.4vw, 2.1rem)/1.4 var(--display); letter-spacing: -.045em; max-width: 490px; }
.about-details { max-width: 510px; color: var(--text); }
.about-details p + p { margin-top: 18px; }
.about-details .text-link { display: inline-block; margin-top: 26px; color: var(--ink); }
.section-muted { background: #efefec; }
.section-subtitle { color: var(--text); max-width: 500px; margin-top: 16px; }
.skills-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.skill-card { min-height: 245px; background: #f9f9f7; padding: 26px; border: 1px solid #e2e2dc; transition: transform .25s ease, box-shadow .25s ease; }
.skill-card:hover { transform: translateY(-5px); box-shadow: 0 16px 35px rgba(0,0,0,.045); }
.skill-number { color: #9a9a91; font-size: .68rem; letter-spacing: .1em; }
.skill-card h3 { font-size: 1.2rem; margin: 24px 0 10px; letter-spacing: -.04em; }
.skill-card p { color: var(--text); font-size: .88rem; min-height: 48px; }
.tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.tags span { display: inline-block; border: 1px solid #deded8; border-radius: 3px; padding: 5px 8px; color: #66665f; font-size: .66rem; background: rgba(255,255,255,.5); }
.skill-note { background: #e2e8df; border-color: #d7dfd3; }
.note-star { font-size: 1.5rem; color: #6d8969; }
.skill-note h3 { margin-top: 25px; }
.timeline { border-top: 1px solid var(--line); }
.timeline-item { display: grid; grid-template-columns: .7fr 1.3fr; gap: 60px; padding: 36px 0 42px; border-bottom: 1px solid var(--line); }
.timeline-date { color: #888880; font-size: .72rem; font-weight: 700; letter-spacing: .1em; padding-top: 7px; }
.timeline-title { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; }
.timeline-title h3 { font-size: 1.35rem; }
.timeline-title span { color: #77776f; font-size: .82rem; }
.timeline-content > p { color: var(--text); max-width: 650px; margin-top: 14px; }
.project-list { border-top: 1px solid #d8d8d2; }
.project-row { display: grid; grid-template-columns: 60px 1fr 140px; gap: 24px; align-items: start; padding: 30px 0; border-bottom: 1px solid #d8d8d2; }
.project-index { color: #96968e; font-size: .78rem; padding-top: 5px; }
.project-type { color: #85857d; font-size: .62rem; font-weight: 700; letter-spacing: .13em; }
.project-info h3 { font-size: 1.35rem; margin: 8px 0; }
.project-info > p:last-child { color: var(--text); max-width: 650px; font-size: .9rem; }
.project-label { justify-self: end; color: #77776f; font-size: .75rem; padding-top: 5px; }
.portfolio-note { display: flex; gap: 17px; align-items: flex-start; margin-top: 30px; padding: 22px; background: rgba(255,255,255,.55); border: 1px solid #deded8; color: var(--text); font-size: .86rem; }
.portfolio-note > span { color: #789875; font-size: 1.3rem; }
.portfolio-note strong { color: var(--ink); }
.contact-section { padding-block: 100px; }
.contact-card { display: flex; justify-content: space-between; align-items: end; gap: 50px; padding: 58px; background: #20221f; color: white; border-radius: 7px; }
.contact-card .eyebrow { color: #aeb5a9; }
.contact-card h2 { font-size: clamp(2.4rem, 4.3vw, 3.8rem); margin-top: 20px; }
.contact-card h2 span { color: #a8bca2; }
.contact-copy { color: #c0c2bc; max-width: 470px; margin-top: 20px; font-size: .93rem; }
.contact-actions { min-width: 210px; }
.button-light { background: #f3f3ef; color: #1d1f1c; }
.button-light:hover { background: #dfe8db; }
.contact-hint { color: #9da199; font-size: .68rem; margin-top: 13px; max-width: 240px; }
.contact-hint code { color: #d7e2d1; }
.footer { border-top: 1px solid var(--line); }
.footer-inner { min-height: 90px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-inner p { color: #85857d; font-size: .72rem; }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; } .reveal { opacity: 1; transform: none; } }
@media (max-width: 900px) {
  .hero { gap: 35px; }
  .skills-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { gap: 45px; }
  .contact-card { padding: 42px; }
}
@media (max-width: 680px) {
  .container { width: min(100% - 36px, 520px); }
  .nav { height: 68px; }
  .menu-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 68px; left: 0; right: 0; padding: 22px 24px 26px; background: var(--bg); border-bottom: 1px solid var(--line); flex-direction: column; align-items: flex-start; gap: 18px; }
  .nav-links.open { display: flex; }
  .hero { grid-template-columns: 1fr; padding-top: 75px; gap: 55px; }
  h1 { font-size: clamp(2.55rem, 12vw, 3.7rem); }
  .hero-meta { margin-top: 48px; gap: 35px; }
  .hero-visual { min-height: 360px; }
  .portrait-card { height: 350px; width: min(82%, 330px); }
  .note-one { left: 0; top: 40px; }
  .note-two { right: 0; bottom: 35px; }
  .intro-inner { padding-block: 20px; flex-direction: column; align-items: flex-start; justify-content: center; }
  .intro-inner span { line-height: 1.8; }
  .section { padding-block: 82px; }
  .section-heading { margin-bottom: 38px; }
  .about-grid { grid-template-columns: 1fr; gap: 25px; }
  .skills-grid { grid-template-columns: 1fr; }
  .skill-card { min-height: auto; }
  .skill-card p { min-height: 0; }
  .timeline-item { grid-template-columns: 1fr; gap: 13px; }
  .timeline-title { flex-direction: column; gap: 5px; }
  .project-row { grid-template-columns: 32px 1fr; gap: 12px; }
  .project-label { grid-column: 2; justify-self: start; padding-top: 0; }
  .contact-card { flex-direction: column; align-items: flex-start; padding: 34px 25px; gap: 30px; }
  .contact-actions { width: 100%; }
  .footer-inner { padding-block: 22px; flex-wrap: wrap; }
  .footer-inner p:nth-child(2) { order: 3; width: 100%; }
}
