:root {
  --ink: #0b0b0d;
  --paper: #f2f0ea;
  --muted: #a7a59e;
  --line: rgba(242,240,234,.16);
  --red: #ff3b30;
  --lime: #d7ff3f;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}
a { color: inherit; }
.noise {
  position: fixed; inset: 0; pointer-events: none; opacity: .035; z-index: 20;
  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='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 30; background: var(--lime); color: var(--ink); padding: 10px 16px; }
.skip-link:focus { top: 20px; }
.site-header {
  width: min(calc(100% - 48px), var(--max)); margin: auto; height: 92px;
  display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 700; letter-spacing: -.02em; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; background: var(--red); color: white; font: 500 .8rem "DM Mono"; }
nav { display: flex; align-items: center; gap: 34px; }
nav a { color: #cbc9c2; text-decoration: none; font-size: .9rem; transition: color .2s; }
nav a:hover, nav a:focus-visible { color: white; }
.nav-cta { border: 1px solid var(--line); padding: 9px 16px; }
.menu-button { display: none; background: none; border: 1px solid var(--line); color: white; padding: 8px 12px; font: inherit; }

.hero {
  width: min(calc(100% - 48px), var(--max)); min-height: 690px; margin: auto; padding: 92px 0 88px;
  display: grid; grid-template-columns: 1.55fr .75fr; align-items: end; gap: 72px;
}
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 24px; color: #c6c4bd; font: 500 .76rem "DM Mono"; text-transform: uppercase; letter-spacing: .08em; }
.eyebrow span { width: 8px; height: 8px; background: var(--lime); border-radius: 50%; box-shadow: 0 0 18px rgba(215,255,63,.7); }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 34px; font-size: clamp(3rem, 6.3vw, 6.25rem); line-height: .97; letter-spacing: -.072em; font-weight: 700; }
h1 em, .contact h2 em { color: var(--red); font-style: normal; }
.hero-lead { max-width: 660px; color: #aaa8a1; font-size: 1.05rem; }
.hero-actions { display: flex; align-items: center; gap: 26px; margin-top: 36px; }
.button { display: inline-flex; gap: 30px; align-items: center; text-decoration: none; font-weight: 700; font-size: .92rem; }
.button.primary { background: var(--paper); color: var(--ink); padding: 15px 19px; transition: background .2s, transform .2s; }
.button.primary:hover { background: var(--lime); transform: translateY(-2px); }
.button.text { border-bottom: 1px solid #777; padding: 8px 0; }
.hero-panel { border: 1px solid var(--line); padding: 24px; background: rgba(255,255,255,.025); }
.profile-top { display: flex; align-items: center; gap: 16px; }
.profile-top div:last-child { display: flex; flex-direction: column; }
.profile-top span { color: var(--muted); font-size: .83rem; }
.avatar { width: 52px; height: 52px; display: grid; place-items: center; background: var(--lime); color: var(--ink); font-size: 1.4rem; font-weight: 800; }
.panel-line { height: 1px; background: var(--line); margin: 24px 0; }
.quick-facts { margin: 0; display: grid; gap: 14px; }
.quick-facts div { display: flex; justify-content: space-between; gap: 20px; }
.quick-facts dt { color: #76746f; font: .72rem "DM Mono"; text-transform: uppercase; }
.quick-facts dd { margin: 0; font-size: .86rem; text-align: right; }
.currently { margin: 26px 0 0; padding-top: 22px; border-top: 1px solid var(--line); color: #a7a59e; font-size: .82rem; }
.currently span { display: block; color: var(--lime); font: .68rem "DM Mono"; text-transform: uppercase; margin-bottom: 6px; }

.marquee { overflow: hidden; padding: 19px 0; background: var(--red); color: white; font: 500 .78rem "DM Mono"; letter-spacing: .04em; white-space: nowrap; }
.marquee div { width: max-content; animation: drift 26s linear infinite; }
.marquee b { margin: 0 28px; }
@keyframes drift { to { transform: translateX(-42%); } }

.section { width: min(calc(100% - 48px), var(--max)); margin: auto; padding: 110px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 210px 1fr; gap: 34px; }
.section-index { color: #73716c; font: .72rem "DM Mono"; text-transform: uppercase; letter-spacing: .06em; padding-top: 8px; }
.section-content h2, .projects-heading h2 { font-size: clamp(2rem, 4vw, 4.25rem); line-height: 1.05; letter-spacing: -.055em; }
.split-copy { display: grid; grid-template-columns: 1.1fr .9fr; gap: 70px; }
.split-copy p { color: #a8a69f; }

.experience-card { background: var(--paper); color: var(--ink); padding: clamp(26px, 4vw, 54px); }
.experience-meta { display: flex; justify-content: space-between; color: #77746d; font: .74rem "DM Mono"; text-transform: uppercase; }
.experience-body { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; margin: 72px 0 54px; }
.experience-body h2 { font-size: clamp(2rem, 4vw, 3.7rem); }
.experience-body p { color: #5c5953; }
.tag-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tag-list li { border: 1px solid currentColor; border-radius: 100px; padding: 5px 11px; font: .68rem "DM Mono"; text-transform: uppercase; }
.education-row { padding: 26px 4px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.education-row:first-of-type { margin-top: 42px; border-top: 1px solid var(--line); }
.education-row div { display: flex; gap: 28px; }
.education-row span { min-width: 90px; color: #777; font: .72rem "DM Mono"; }
.education-row p { margin: 0; color: #aaa8a1; }

.projects-heading { display: flex; justify-content: space-between; align-items: end; margin-bottom: 54px; }
.projects-heading h2 { margin: 0; }
.projects-heading p { max-width: 390px; color: #999790; margin: 0 0 8px; }
.project-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.project { position: relative; background: #e6e3da; color: var(--ink); padding: 18px; }
.project-featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1.25fr .75fr; }
.project-number { position: absolute; top: 28px; left: 30px; z-index: 2; font: .7rem "DM Mono"; color: rgba(0,0,0,.55); }
.project-visual { min-height: 310px; display: grid; place-items: center; overflow: hidden; }
.doyur-visual { min-height: 410px; background: #b9d94e; position: relative; }
.doyur-visual > span { position: absolute; top: 24px; right: 26px; font-weight: 800; letter-spacing: -.05em; }
.plate { width: 245px; height: 245px; border-radius: 50%; background: #f5f2e9; box-shadow: 0 28px 50px rgba(42,55,8,.23), inset 0 0 0 22px #e5e0d4; display: grid; grid-template-columns: repeat(3, 38px); gap: 8px; place-content: center; transform: rotate(-8deg); }
.plate i { width: 38px; height: 95px; border-radius: 60% 40% 55% 45%; background: #63902f; transform: rotate(18deg); }
.plate i:nth-child(2) { background: #8b522e; transform: translateY(18px) rotate(-8deg); }
.plate i:nth-child(3) { background: #e6b74d; transform: rotate(11deg); }
.project-copy { padding: 26px 18px 16px; }
.project-featured .project-copy { display: flex; flex-direction: column; justify-content: end; padding: 52px 34px 28px; }
.project-type { color: #77736c; font: .68rem "DM Mono"; text-transform: uppercase; }
.project h3 { font-size: clamp(2rem, 4vw, 3.6rem); line-height: 1; letter-spacing: -.06em; margin: 14px 0 18px; }
.project p { color: #615e58; max-width: 520px; }
.project .tag-list { margin-top: 30px; }
.observer-visual { background: #17273c; grid-template-columns: 60px 1fr; padding: 55px 38px; gap: 28px; }
.mini-sidebar { height: 190px; border: 1px solid rgba(255,255,255,.2); background: repeating-linear-gradient(to bottom, rgba(255,255,255,.15) 0 2px, transparent 2px 25px); }
.mini-chart { height: 190px; display: flex; align-items: end; gap: 12px; border-left: 1px solid rgba(255,255,255,.2); border-bottom: 1px solid rgba(255,255,255,.2); padding: 18px; }
.mini-chart i { flex: 1; background: var(--lime); height: 32%; }
.mini-chart i:nth-child(2) { height: 54%; }.mini-chart i:nth-child(3) { height: 42%; }.mini-chart i:nth-child(4) { height: 78%; }.mini-chart i:nth-child(5) { height: 68%; }
.project-dark { background: #19191d; color: var(--paper); }
.project-dark .project-number, .project-dark .project-type { color: #777; }
.project-dark p { color: #999790; }
.code-visual { background: #08080a; color: var(--lime); font: .86rem/2 "DM Mono"; place-content: center; align-items: start; border: 1px solid #2b2b30; }
.code-visual span { display: block; }

.skills-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 60px; }
.skills-grid div { padding: 28px 0; border-top: 1px solid var(--line); }
.skills-grid span { color: var(--red); font: .7rem "DM Mono"; text-transform: uppercase; }
.skills-grid p { margin: 12px 0 0; font-size: 1.05rem; }

.contact { width: min(calc(100% - 48px), var(--max)); margin: auto; padding: 140px 0 90px; }
.contact h2 { max-width: 940px; font-size: clamp(3rem, 7vw, 7rem); line-height: .95; letter-spacing: -.07em; }
.contact-mail { display: flex; justify-content: space-between; align-items: center; max-width: 850px; padding: 22px 0; border-bottom: 1px solid var(--paper); text-decoration: none; font-size: clamp(1rem, 2.4vw, 1.65rem); }
.contact-mail:hover { color: var(--lime); border-color: var(--lime); }
.contact-meta { margin-top: 50px; display: flex; gap: 50px; color: #77756f; font: .72rem "DM Mono"; text-transform: uppercase; }
footer { width: min(calc(100% - 48px), var(--max)); margin: auto; border-top: 1px solid var(--line); padding: 28px 0 42px; display: flex; justify-content: space-between; color: #77756f; font: .7rem "DM Mono"; text-transform: uppercase; }
footer a { text-decoration: none; }

@media (max-width: 900px) {
  .site-header { height: 76px; }
  .menu-button { display: block; }
  nav { display: none; position: absolute; z-index: 10; top: 76px; left: 24px; right: 24px; padding: 22px; background: #17171a; border: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 18px; }
  nav.open { display: flex; }
  .hero { grid-template-columns: 1fr; padding: 70px 0; gap: 55px; }
  .hero-panel { max-width: 440px; }
  .section { grid-template-columns: 1fr; padding: 80px 0; }
  .split-copy, .experience-body { grid-template-columns: 1fr; gap: 30px; }
  .experience-body { margin: 55px 0 42px; }
  .project-featured { grid-template-columns: 1fr; }
  .projects-heading { align-items: start; flex-direction: column; gap: 20px; }
}

@media (max-width: 620px) {
  .site-header, .hero, .section, .contact, footer { width: min(calc(100% - 30px), var(--max)); }
  .brand > span:last-child { display: none; }
  h1 { font-size: clamp(2.8rem, 14vw, 4.3rem); }
  .hero { min-height: auto; padding-top: 56px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .experience-meta, .education-row, .education-row div, .contact-meta { flex-direction: column; display: flex; }
  .experience-meta { gap: 6px; }
  .education-row { gap: 12px; }
  .education-row div { gap: 8px; }
  .project-grid, .skills-grid { grid-template-columns: 1fr; }
  .project-featured { grid-column: auto; }
  .doyur-visual { min-height: 330px; }
  .plate { width: 190px; height: 190px; grid-template-columns: repeat(3, 30px); box-shadow: 0 22px 40px rgba(42,55,8,.23), inset 0 0 0 17px #e5e0d4; }
  .plate i { width: 30px; height: 72px; }
  .contact { padding-top: 100px; }
  .contact-meta { gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee div { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
