@import url('/css/android.css');

:root {
  --bg: #0b0f10;
  --surface: #121718;
  --surface-2: #181e1f;
  --surface-3: #202728;
  --text: #f2f5f0;
  --muted: #9ba59f;
  --accent: #b8f34a;
  --accent-soft: rgba(184, 243, 74, .12);
  --button-text: #121610;
  --hero-halo: #2a332e;
  --header-bg: rgba(11, 15, 16, .88);
  --accent-shadow: rgba(184, 243, 74, .16);
  --line: rgba(255, 255, 255, .1);
  --container: 1280px;
  --gutter: clamp(20px, 6vw, 88px);
  --radius: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: "DM Sans", sans-serif; overflow-x: hidden; }
body, input, textarea, button { -webkit-font-smoothing: antialiased; }
* { scrollbar-color: var(--accent) var(--surface); scrollbar-width: thin; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--surface); }
::-webkit-scrollbar-thumb { background: var(--accent); border: 3px solid var(--surface); border-radius: 20px; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }
::selection { color: #111; background: var(--accent); }

.noise { position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .025; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.header { position: fixed; inset: 0 0 auto; z-index: 50; height: 86px; padding: 0 var(--gutter); display: flex; align-items: center; border-bottom: 1px solid transparent; transition: height .3s, background .3s, border-color .3s; }
.header.scrolled { height: 70px; background: var(--header-bg); border-color: var(--line); backdrop-filter: blur(18px); }
.logo { flex: 0 0 auto; color: var(--text); font: 800 24px/1 "Syne", sans-serif; letter-spacing: -.8px; text-decoration: none; }
.logo span, em { color: var(--accent); font-style: normal; }
.nav { display: flex; align-items: center; gap: clamp(22px, 3vw, 42px); margin: 0 auto; }
.nav a, .nav-cta { color: var(--muted); font-size: 14px; text-decoration: none; transition: color .25s; }
.nav a { position: relative; padding: 10px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 3px; height: 1px; background: var(--accent); transition: right .25s; }
.nav a:hover, .nav a.active { color: var(--text); }
.nav a.active::after { right: 0; }
.nav-cta { color: var(--text); border-bottom: 1px solid var(--muted); padding-bottom: 5px; }
.nav-cta span, .text-link span { color: var(--accent); }
.menu-button { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; }

.hero { width: min(100%, 1600px); min-height: 100svh; margin: auto; padding: clamp(130px, 15vh, 180px) var(--gutter) 70px; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(380px, .92fr); align-items: center; gap: clamp(40px, 7vw, 110px); position: relative; }
.hero-copy { position: relative; z-index: 2; }
.eyebrow, .section-label { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; }
.eyebrow span { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 16px var(--accent); }
h1, h2, h3 { margin: 0; font-family: "Syne", sans-serif; }
.hero h1 { max-width: 790px; margin: 26px 0 30px; font-size: clamp(58px, 7vw, 108px); line-height: .92; letter-spacing: clamp(-5px, -.055em, -2px); text-wrap: balance; }
.intro { max-width: 690px; margin: 0; color: var(--muted); font-size: clamp(16px, 1.4vw, 19px); line-height: 1.7; }
.intro strong { color: var(--text); font-weight: 600; }
#role { color: var(--accent); font-weight: 600; white-space: nowrap; }
.hero-actions { display: flex; align-items: center; gap: 34px; margin-top: 38px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 28px; min-height: 54px; padding: 14px 25px; border: 1px solid transparent; border-radius: 2px; font-weight: 700; text-decoration: none; cursor: pointer; transition: transform .25s, background .25s, box-shadow .25s; }
.button:hover { transform: translateY(-2px); }
.primary { color: var(--button-text); background: var(--accent); box-shadow: 0 12px 35px var(--accent-shadow); }
.primary span { color: var(--button-text); }
.text-link { display: inline-block; color: var(--text); border-bottom: 1px solid #626b66; padding-bottom: 5px; text-decoration: none; transition: border-color .25s; }
.text-link:hover { border-color: var(--accent); }
.socials { display: flex; gap: 21px; margin-top: 54px; }
.socials a { color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: 1px; text-decoration: none; transition: color .2s, transform .2s; }
.socials a:hover { color: var(--accent); transform: translateY(-2px); }
.hero-visual { width: min(100%, 520px); min-height: 520px; aspect-ratio: .86; margin-left: auto; display: grid; place-items: end center; position: relative; isolation: isolate; overflow: hidden; background: radial-gradient(circle at 50% 52%, var(--hero-halo) 0, transparent 56%); }
.hero-visual::before { content: ""; position: absolute; z-index: -1; bottom: 8%; width: 76%; aspect-ratio: 1; border-radius: 50%; background: var(--accent); box-shadow: 0 0 110px var(--accent-shadow); }
.orbit { position: absolute; z-index: -1; border: 1px solid color-mix(in srgb, var(--accent) 38%, transparent); border-radius: 50%; }
.orbit-one { width: 96%; aspect-ratio: 1; bottom: -7%; }
.orbit-two { width: 76%; aspect-ratio: 1; bottom: 3%; }
.floating-tag { position: absolute; z-index: 5; padding: 12px 16px; color: var(--accent); background: color-mix(in srgb, var(--surface) 90%, transparent); border: 1px solid var(--line); backdrop-filter: blur(8px); font: 600 11px "Syne", sans-serif; letter-spacing: .5px; }
.tag-one { left: 1%; top: 27%; transform: rotate(-7deg); }
.tag-two { right: 3%; top: 45%; transform: rotate(7deg); }
.year-badge { position: absolute; z-index: 6; right: 0; bottom: 3%; display: flex; align-items: center; gap: 11px; padding: 16px 20px; background: var(--surface); border: 1px solid var(--line); }
.year-badge strong { color: var(--accent); font: 700 32px "Syne", sans-serif; }
.year-badge span { color: var(--muted); font-size: 9px; line-height: 1.4; letter-spacing: .7px; text-transform: uppercase; }

.section { padding: clamp(90px, 10vw, 140px) var(--gutter); }
.section > * { width: min(100%, var(--container)); margin-left: auto; margin-right: auto; }
.section-label { margin-bottom: 55px; }
.section-label span { color: var(--accent); }
.about, .projects { background: var(--surface); }
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(50px, 10vw, 150px); align-items: start; margin-bottom: 80px; }
.about h2, .section-head h2, .contact h2 { font-size: clamp(43px, 5vw, 74px); line-height: 1.04; letter-spacing: -.055em; text-wrap: balance; }
.about-copy p, .section-head p, .contact p { color: var(--muted); font-size: 17px; line-height: 1.8; }
.about-copy p:first-child { margin-top: 0; }
.about-copy .text-link { margin-top: 10px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); padding-top: 42px; border-top: 1px solid var(--line); }
.stats div { min-width: 0; padding: 0 32px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 5px; }
.stats div:first-child { padding-left: 0; }
.stats div:last-child { padding-right: 0; border: 0; }
.stats strong { color: var(--accent); font: 700 clamp(36px, 4vw, 50px) "Syne", sans-serif; }
.stats span { color: var(--muted); font-size: 13px; line-height: 1.4; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 50px; margin-bottom: 55px; }
.section-head p { max-width: 470px; margin: 0; }
.experience { background: var(--bg); }
.experience-list { position: relative; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.experience-item { position: relative; display: grid; grid-template-columns: minmax(170px, .3fr) minmax(0, 1fr) 54px; gap: clamp(30px, 5vw, 72px); min-height: 190px; padding: 38px 8px; border-bottom: 1px solid var(--line); }
.experience-item:last-child { border-bottom: 0; }
.experience-item::before { content: ""; position: absolute; left: calc(min(170px, 30%) + clamp(15px, 2.5vw, 36px)); top: 0; bottom: 0; width: 1px; background: var(--line); }
.experience-item::after { content: ""; position: absolute; left: calc(min(170px, 30%) + clamp(15px, 2.5vw, 36px) - 4px); top: 44px; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px var(--accent-soft); }
.experience-period { padding-top: 3px; color: var(--accent); font-size: 12px; font-weight: 700; line-height: 1.6; letter-spacing: .5px; text-transform: uppercase; }
.experience-content { padding-left: 8px; }
.experience-content > span { color: var(--muted); font-size: 12px; letter-spacing: 1px; text-transform: uppercase; }
.experience-content h3 { margin-top: 8px; font-size: clamp(23px, 2.3vw, 31px); line-height: 1.2; }
.experience-content p { max-width: 760px; margin: 14px 0 0; color: var(--muted); line-height: 1.75; white-space: pre-line; }
.experience-content p { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.experience-item.expanded .experience-content p { display: block; overflow: visible; }
.experience-toggle { display: inline-flex; align-items: center; gap: 9px; min-height: 38px; margin-top: 15px; padding: 0; color: var(--text); background: transparent; border: 0; border-bottom: 1px solid var(--accent); border-radius: 0; font-size: 12px; font-weight: 700; cursor: pointer; }
.experience-toggle i { color: var(--accent); font-style: normal; }
.experience-number { color: color-mix(in srgb, var(--muted) 25%, transparent); font: 700 28px "Syne", sans-serif; text-align: right; }
.service-list { border-bottom: 1px solid var(--line); }
.service { display: grid; grid-template-columns: 48px 72px minmax(0, 1fr) 40px; align-items: center; gap: 26px; padding: 36px 8px; border-top: 1px solid var(--line); transition: padding .3s, background .3s; }
.service:hover { padding-left: 22px; padding-right: 22px; background: var(--surface); }
.service-number { color: var(--muted); font-size: 11px; }
.service-icon { width: 62px; height: 62px; display: grid; place-items: center; color: var(--accent); border: 1px solid var(--line); font-size: 24px; }
.service h3 { font-size: clamp(20px, 2vw, 27px); }
.service p { max-width: 700px; margin: 8px 0 0; color: var(--muted); line-height: 1.6; }
.arrow { color: var(--accent); font-size: 24px; }
.skills { background: var(--surface-2); }
.skills-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.skill-card { position: relative; min-height: 205px; padding: 25px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.skill-top { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.skill-top span { color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.skill-top strong { color: var(--accent); font: 700 14px "Syne", sans-serif; }
.skill-card h3 { margin-top: 33px; padding-right: 35px; font-size: clamp(20px, 2vw, 26px); }
.skill-progress { height: 5px; margin-top: 28px; overflow: hidden; background: var(--surface-3); border-radius: 9px; }
.skill-progress i { height: 100%; display: block; background: var(--accent); border-radius: inherit; box-shadow: 0 0 15px var(--accent-soft); }
.skill-number { position: absolute; right: 22px; bottom: 18px; color: color-mix(in srgb, var(--muted) 22%, transparent); font: 700 28px "Syne", sans-serif; }

.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 24px; }
.project-wide { grid-column: auto; }
.project-art, .project-wide .project-art { width: 100%; height: auto; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-3); }
.project-meta { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 21px; }
.project-meta span { color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
.project-meta h3 { margin-top: 7px; font-size: clamp(21px, 2.2vw, 29px); }
.project-meta > a { flex: 0 0 46px; width: 46px; height: 46px; display: grid; place-items: center; color: var(--accent); border: 1px solid var(--line); text-decoration: none; transition: background .2s, color .2s; }
.project-meta > a:hover { color: #111; background: var(--accent); }

.contact-grid { display: grid; grid-template-columns: 1fr .85fr; gap: clamp(55px, 10vw, 150px); align-items: start; }
.contact h2 { font-size: clamp(48px, 6vw, 86px); }
.contact-grid > div > p { max-width: 580px; margin: 28px 0 30px; }
.email { display: inline-block; color: var(--text); border-bottom: 1px solid var(--accent); padding-bottom: 7px; font: 600 17px "Syne", sans-serif; text-decoration: none; overflow-wrap: anywhere; }
.contact-form { display: flex; flex-direction: column; gap: 24px; }
.contact-form label { color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
.contact-form input, .contact-form textarea { width: 100%; display: block; margin-top: 7px; padding: 13px 0; color: var(--text); background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; outline: 0; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--accent); }
.contact-form .button { align-self: flex-start; }
.form-status { min-height: 20px; margin: 0 !important; color: var(--accent) !important; font-size: 13px !important; }
footer { min-height: 90px; padding: 25px var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 28px; color: var(--muted); border-top: 1px solid var(--line); font-size: 12px; }
footer p { margin: 0; text-align: center; }
.back-top { color: var(--text); text-decoration: none; }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .75s ease, transform .75s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } .reveal { opacity: 1; transform: none; } }
@media (max-width: 1050px) { .hero { grid-template-columns: 1fr .8fr; gap: 35px; } .hero-visual { min-height: 470px; } .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .about-grid, .contact-grid { gap: 60px; } }
@media (max-width: 900px) { .skills-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) {
  .nav-cta { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 135px; }
  .hero-copy { max-width: 720px; }
  .hero-visual { width: min(100%, 480px); min-height: 500px; margin: 10px auto 0; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: 34px 0; }
  .stats div:nth-child(2) { border-right: 0; }
  .stats div:nth-child(3) { padding-left: 0; }
}
@media (max-width: 640px) {
  :root { --gutter: 20px; }
  .header { height: 72px; }
  .menu-button { z-index: 2; display: flex; margin-left: auto; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
  .menu-button span { width: 23px; height: 1px; display: block; background: var(--text); transition: transform .25s; }
  .menu-button[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .nav { position: fixed; inset: 0; transform: translateX(100%); flex-direction: column; justify-content: center; gap: 18px; background: var(--bg); transition: transform .3s; }
  .nav.open { transform: none; }
  .nav a { font: 600 27px "Syne", sans-serif; }
  .hero { padding-top: 115px; padding-bottom: 70px; }
  .hero h1 { font-size: clamp(48px, 15vw, 66px); }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 24px; }
  .socials { margin-top: 40px; }
  .hero-visual { width: min(92%, 390px); min-height: 410px; }
  .floating-tag { font-size: 9px; }
  .year-badge { padding: 12px 15px; }
  .section-label { margin-bottom: 38px; }
  .about h2, .section-head h2, .contact h2 { font-size: 42px; }
  .about-grid { gap: 34px; margin-bottom: 55px; }
  .about-copy p, .section-head p, .contact p { font-size: 16px; }
  .stats { padding-top: 30px; }
  .stats div { padding: 0 14px; }
  .stats strong { font-size: 36px; }
  .section-head { align-items: flex-start; flex-direction: column; gap: 20px; margin-bottom: 38px; }
  .experience-list { display: grid; gap: 14px; border: 0; }
  .experience-item { display: grid; grid-template-columns: 1fr 30px; gap: 12px 15px; min-height: 0; padding: 23px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
  .experience-item:last-child { border-bottom: 1px solid var(--line); }
  .experience-item::before { left: 0; top: 22px; bottom: 22px; width: 3px; background: var(--accent); }
  .experience-item::after { display: none; }
  .experience-period { grid-column: 1; padding: 0; font-size: 11px; }
  .experience-content { grid-column: 1 / -1; padding: 0; }
  .experience-content > span { display: block; line-height: 1.5; }
  .experience-content h3 { font-size: 22px; }
  .experience-content p { margin-top: 11px; font-size: 15px; line-height: 1.65; }
  .experience-number { grid-column: 2; grid-row: 1; font-size: 20px; }
  .service { grid-template-columns: 32px 48px minmax(0, 1fr); gap: 13px; padding: 27px 0; }
  .service:hover { padding-left: 8px; padding-right: 8px; }
  .service-icon { width: 46px; height: 46px; font-size: 19px; }
  .service p { font-size: 14px; }
  .service .arrow { display: none; }
  .project-grid { grid-template-columns: 1fr; gap: 42px; }
  .skills-grid { grid-template-columns: 1fr; gap: 12px; }
  .skill-card { min-height: 180px; padding: 21px; }
  .project-wide { grid-column: auto; }
  .project-art, .project-wide .project-art { height: auto; aspect-ratio: 16 / 10; }
  .project-meta h3 { font-size: 22px; }
  footer { align-items: flex-start; flex-direction: column; }
  footer p { text-align: left; }
}
@media (max-width: 390px) { .hero-visual { width: 90%; min-height: 350px; } .tag-one { top: 20%; } .tag-two { top: 40%; } .stats span { font-size: 11px; } }
