diff --git a/app/globals.css b/app/globals.css index 610e290..45dd124 100644 --- a/app/globals.css +++ b/app/globals.css @@ -19,7 +19,7 @@ a:focus-visible { outline:2px solid var(--acid); outline-offset:5px; } .nav nav { display:flex; gap:34px; font:400 12px 'DM Mono',monospace; text-transform:uppercase; letter-spacing:.08em; } .nav nav a { position:relative; transition:color .2s; }.nav nav a::after { content:''; position:absolute; left:0; right:0; bottom:-8px; height:1px; background:var(--acid); transform:scaleX(0); transform-origin:left; transition:transform .2s; }.nav nav a:hover { color:var(--acid); }.nav nav a:hover::after { transform:scaleX(1); } .hero { min-height:760px; padding:84px 0 70px; position:relative; border-bottom:1px solid var(--line); } -.hero-kicker { float:right; max-width:290px; font:400 11px/1.5 'DM Mono',monospace; text-transform:uppercase; letter-spacing:.06em; color:var(--muted); display:flex; gap:10px; position:relative; z-index:1; } +.hero-kicker { max-width:290px; font:400 11px/1.5 'DM Mono',monospace; text-transform:uppercase; letter-spacing:.06em; color:var(--muted); display:flex; gap:10px; position:absolute; top:84px; right:0; z-index:1; } .pulse { width:8px; height:8px; margin-top:4px; background:var(--acid); border-radius:50%; box-shadow:0 0 0 5px var(--glow),0 0 18px var(--acid); flex:none; } .hero-orbit { position:absolute; width:318px; height:318px; border:1px solid rgba(199,255,70,.24); right:13%; top:112px; border-radius:50%; opacity:.68; animation:spin 20s linear infinite; } .hero-orbit::before,.hero-orbit::after { content:''; position:absolute; border-radius:50%; background:var(--acid); box-shadow:0 0 18px var(--acid); }.hero-orbit::before { width:7px; height:7px; top:34px; left:34px; }.hero-orbit::after { width:4px; height:4px; bottom:29px; right:56px; } @@ -27,7 +27,7 @@ a:focus-visible { outline:2px solid var(--acid); outline-offset:5px; } .eyebrow { font:400 11px 'DM Mono',monospace; text-transform:uppercase; letter-spacing:.15em; color:var(--muted); } .hero h1 { font-size:clamp(70px,11.5vw,164px); line-height:.82; letter-spacing:-.085em; margin:108px 0 26px -8px; font-weight:600; position:relative; z-index:1; text-shadow:0 0 55px rgba(199,255,70,.07); } .hero h2 { max-width:760px; font-size:clamp(28px,4.2vw,58px); line-height:1.03; letter-spacing:-.05em; margin:0 0 32px; font-weight:500; text-wrap:balance; } -.hero-copy { width:min(620px,75%); margin-left:26%; color:#bac4bb; font-size:16px; line-height:1.75; } +.hero-copy { width:min(650px, calc(100% - 220px)); margin-left:26%; color:#bac4bb; font-size:16px; line-height:1.75; } .hero-actions { margin:42px 0 0 26%; display:flex; gap:10px; } .button { padding:14px 18px; border:1px solid rgba(243,246,240,.36); background:rgba(15,20,18,.55); font:500 11px 'DM Mono',monospace; text-transform:uppercase; display:flex; gap:26px; justify-content:space-between; transition:transform .2s,background .2s,border .2s; } .button.primary { background:var(--acid); border-color:var(--acid); color:#11150f; box-shadow:0 12px 30px rgba(199,255,70,.16); }.button:hover { transform:translateY(-3px); background:var(--acid); border-color:var(--acid); color:#11150f; } @@ -45,7 +45,7 @@ a:focus-visible { outline:2px solid var(--acid); outline-offset:5px; } .cap-card:hover { background:linear-gradient(135deg,rgba(199,255,70,.09),transparent 68%); }.cap-card h3 { font-size:24px; margin:54px 0 16px; letter-spacing:-.035em; }.cap-card p { color:#b0bab2; font-size:14px; line-height:1.7; min-height:74px; }.cap-card:hover .cap-number { color:var(--acid); } .tag-list { display:flex; flex-wrap:wrap; gap:7px; margin-top:24px; } .tag-list span { font:400 10px 'DM Mono',monospace; border:1px solid var(--line); background:rgba(255,255,255,.025); padding:6px 8px; color:#b8c2bb; } -.project { display:grid; grid-template-columns:160px minmax(0,1fr) 150px; gap:34px; padding:52px 0; border-bottom:1px solid var(--line); transition:padding .25s,background .25s; }.project:hover { padding-left:18px; background:linear-gradient(90deg,rgba(199,255,70,.075),transparent 72%); }.project:hover .project-meta span { color:var(--acid); } +.project { display:grid; grid-template-columns:160px minmax(0,1fr) 150px; gap:34px; padding:52px 0; border-bottom:1px solid var(--line); transition:background .25s; }.project:hover { background:linear-gradient(90deg,rgba(199,255,70,.075),transparent 72%); }.project:hover .project-meta span { color:var(--acid); } .project-meta span { font:300 11px 'DM Mono',monospace; color:var(--muted); } .project-meta p { font:400 10px/1.5 'DM Mono',monospace; text-transform:uppercase; color:var(--muted); margin-top:60px; } .project-body h3 { margin:0 0 18px; font-size:clamp(30px,4vw,52px); letter-spacing:-.055em; font-weight:500; } @@ -79,10 +79,17 @@ a:focus-visible { outline:2px solid var(--acid); outline-offset:5px; } .footer-bottom { display:flex; justify-content:space-between; padding-top:60px; color:#787b71; font:300 9px 'DM Mono',monospace; text-transform:uppercase; } @keyframes spin { to { transform:rotate(360deg); } } @keyframes spin-reverse { to { transform:rotate(-360deg); } } @media (prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior:auto!important; animation-duration:.01ms!important; animation-iteration-count:1!important; transition-duration:.01ms!important; } } +@media (max-width:980px) and (min-width:761px) { + .hero h1 { font-size:clamp(72px, 11vw, 120px); } + .hero-orbit { right:2%; width:250px; height:250px; } + .project { grid-template-columns:120px minmax(0,1fr); gap:26px; } + .project-links { grid-column:2; flex-direction:row; justify-content:flex-start; } + .project-links a { width:150px; } +} @media (max-width:760px) { .shell { width:min(100% - 28px,1180px); } .nav { height:70px; }.nav nav { gap:15px; font-size:10px; }.nav nav a::after { bottom:-6px; } - .hero { min-height:auto; padding:55px 0 60px; }.hero-kicker { float:none; margin-bottom:70px; }.hero-orbit { width:154px; height:154px; right:-32px; top:146px; opacity:.35; }.hero h1 { margin-top:0; font-size:19vw; }.hero h2 { font-size:36px; } + .hero { min-height:auto; padding:55px 0 60px; }.hero-kicker { top:55px; right:auto; margin-bottom:70px; }.hero-orbit { width:154px; height:154px; right:-32px; top:146px; opacity:.35; }.hero h1 { margin-top:0; font-size:19vw; }.hero h2 { font-size:36px; } .hero-copy,.hero-actions { width:100%; margin-left:0; }.hero-copy { margin-top:30px; }.hero-actions { flex-direction:column; }.hero-facts { margin-left:0; gap:16px; flex-direction:column; }.hero-index { display:none; } .section-heading span { display:none; }.capabilities,.work,.tools,.about { padding-top:70px; } .cap-grid { grid-template-columns:1fr; }.cap-card,.cap-card + .cap-card { border-right:0; border-bottom:1px solid var(--line); padding:34px 0; min-height:0; }.cap-card h3 { margin-top:28px; }.cap-card p { min-height:0; } diff --git a/data/resume.ts b/data/resume.ts index 06d594a..53512d4 100644 --- a/data/resume.ts +++ b/data/resume.ts @@ -95,8 +95,8 @@ export const resume = { }, { period: '2026—present', - institution: 'Central University', - program: 'Currently studying', + institution: 'HSE University', + program: '1st-year student · Bachelor’s programme', }, ], } as const