/* ==================================================================
   READ LEVA ALALLOŞ — portfolio
   ================================================================== */

/* ------------------------------------------------------- variables */
:root {
  --accent: #00e5ff;
  --accent2: #7c5cff;
  --radius: 18px;
  --ease: cubic-bezier(.16,1,.3,1);
  --max: 1180px;
}

html[data-theme="dark"] {
  --bg:        #04050a;
  --bg2:       #080a14;
  --surface:   rgba(255,255,255,.035);
  --surface-2: rgba(255,255,255,.06);
  --line:      rgba(255,255,255,.09);
  --text:      #eef1f7;
  --muted:     #8d93a8;
  --net-line:  255,255,255;
  --shadow:    0 30px 80px rgba(0,0,0,.55);
}

html[data-theme="light"] {
  --accent:    #0b63ff;
  --accent2:   #7c3bff;
  --bg:        #f4f5fa;
  --bg2:       #ffffff;
  --surface:   rgba(10,14,30,.035);
  --surface-2: rgba(10,14,30,.06);
  --line:      rgba(10,14,30,.10);
  --text:      #0a0d18;
  --muted:     #5c6379;
  --net-line:  20,30,70;
  --shadow:    0 24px 60px rgba(20,30,70,.13);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Sora', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 300;
  line-height: 1.65;
  overflow-x: hidden;
  transition: background .7s var(--ease), color .7s var(--ease);
}

body.is-loading { overflow: hidden; }

::selection { background: var(--accent); color: #000; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--accent), var(--accent2));
  border-radius: 10px; border: 3px solid var(--bg);
}

/* ================================================== LOADING SCREEN */
#site-loader {
  position: fixed; inset: 0; width: 100%; height: 100vh;
  background: #000; z-index: 999999;
  display: flex; align-items: center; justify-content: center;
  transition: opacity .8s cubic-bezier(.25,1,.5,1), transform .8s cubic-bezier(.25,1,.5,1);
}
#site-loader.fade-out { opacity: 0; transform: scale(.98); pointer-events: none; }

.signature-wrap {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 20px; width: 100%; max-width: 600px;
  transform-origin: center center; will-change: transform;
}
.sig-svg { width: min(75vw, 440px); height: auto; overflow: visible; margin-bottom: 25px; }
.premium-sig-stroke {
  fill: none; stroke: #fff; stroke-width: 2.8;
  stroke-linecap: round; stroke-linejoin: round;
  filter: drop-shadow(0 0 3px rgba(255,255,255,.18));
  will-change: stroke-dashoffset;
}
#glowPointer { opacity: 0; pointer-events: none; will-change: transform; }
#shineBar { fill: url(#shineGradient); transform: translateX(-300px) skewX(-25deg); will-change: transform; }
.sig-counter-wrap { color: #fff; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.sig-counter { font-size: 20px; font-weight: 300; letter-spacing: 3px; line-height: 1; opacity: .5; font-family: 'JetBrains Mono', monospace; }
.sig-progress-bar { width: 80px; height: 2px; background: rgba(255,255,255,.1); border-radius: 1px; overflow: hidden; }
.sig-progress-line { width: 0%; height: 100%; background: #fff; box-shadow: 0 0 4px rgba(255,255,255,.5); transition: width .05s linear; }

/* ============================================ LIVE SIGNATURE (logo) */
.sig-live { width: 100%; height: 100%; overflow: visible; display: block; }
.sig-live path { filter: drop-shadow(0 0 6px currentColor); }
.sig-live-dot { filter: drop-shadow(0 0 6px currentColor); transition: opacity .2s; }

.nav-logo { display: block; width: 118px; height: 48px; color: var(--text); }
.nav-logo-sig { display: block; width: 100%; height: 100%; }
.nav-logo:hover { color: var(--accent); }

.photo-signature {
  width: min(300px, 78%); height: 92px; margin: 18px auto 0;
  color: var(--accent);
  filter: drop-shadow(0 0 18px color-mix(in srgb, var(--accent) 45%, transparent));
}
.footer-sig { width: 190px; height: 70px; margin: 0 auto 14px; color: var(--muted); opacity: .85; }

/* ================================================== BACKGROUND FX */
#netCanvas { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }

.aurora { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.aurora span {
  position: absolute; border-radius: 50%; filter: blur(110px); opacity: .30;
  animation: drift 22s ease-in-out infinite;
}
.aurora span:nth-child(1) { width: 46vw; height: 46vw; left: -8vw; top: -10vw; background: var(--accent); }
.aurora span:nth-child(2) { width: 40vw; height: 40vw; right: -6vw; top: 22vh; background: var(--accent2); animation-delay: -7s; }
.aurora span:nth-child(3) { width: 38vw; height: 38vw; left: 28vw; bottom: -14vw; background: var(--accent); animation-delay: -13s; opacity: .18; }
@keyframes drift {
  0%,100% { transform: translate3d(0,0,0) scale(1); }
  33%     { transform: translate3d(6vw,-4vh,0) scale(1.14); }
  66%     { transform: translate3d(-5vw,5vh,0) scale(.92); }
}
html[data-theme="light"] .aurora span { opacity: .22; }

.grain {
  position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grainShift 1.1s steps(4) infinite;
}
@keyframes grainShift { 0%{transform:translate(0,0)} 25%{transform:translate(-4%,3%)} 50%{transform:translate(3%,-4%)} 75%{transform:translate(-3%,-3%)} 100%{transform:translate(0,0)} }

main, #nav, #footer { position: relative; z-index: 2; }

/* ====================================================== CURSOR */
@media (hover: hover) and (pointer: fine) {
  body, a, button, .tilt { cursor: none !important; }
}
#cursorDot, #cursorRing {
  position: fixed; top: 0; left: 0; z-index: 99999; pointer-events: none;
  border-radius: 50%; opacity: 0; transition: opacity .3s;
}
#cursorDot { width: 6px; height: 6px; background: var(--accent); margin: -3px 0 0 -3px; box-shadow: 0 0 12px var(--accent); }
#cursorRing {
  width: 38px; height: 38px; margin: -19px 0 0 -19px;
  border: 1px solid color-mix(in srgb, var(--accent) 65%, transparent);
  display: grid; place-items: center;
  transition: opacity .3s, width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), background .3s, border-color .3s;
}
#cursorRing.hot {
  width: 74px; height: 74px; margin: -37px 0 0 -37px;
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  border-color: var(--accent);
}
#cursorLabel {
  font-size: 9px; letter-spacing: 2px; text-transform: uppercase;
  font-family: 'JetBrains Mono', monospace; color: var(--accent);
  opacity: 0; transition: opacity .25s; white-space: nowrap;
}
#cursorRing.hot #cursorLabel { opacity: 1; }
@media (hover: none) { #cursorDot, #cursorRing { display: none; } }

/* ================================================== SCROLL BAR */
#scrollBar {
  position: fixed; top: 0; left: 0; height: 2px; width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  z-index: 9999; box-shadow: 0 0 14px var(--accent);
}

/* ========================================================= NAV */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding: 12px clamp(16px, 4vw, 46px);
  transition: background .5s, backdrop-filter .5s, border-color .5s, padding .5s;
  border-bottom: 1px solid transparent;
}
#nav.stuck {
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(18px) saturate(160%);
  border-bottom-color: var(--line);
  padding-top: 6px; padding-bottom: 6px;
}
.nav-links { display: flex; gap: 4px; }
.nav-links a {
  position: relative; padding: 8px 14px; font-size: 13.5px; letter-spacing: .3px;
  color: var(--muted); overflow: hidden; border-radius: 10px;
  transition: color .3s;
}
.nav-links a span { position: relative; display: inline-block; transition: transform .45s var(--ease); }
.nav-links a::before {
  content: ''; position: absolute; inset: auto 12px 6px; height: 1px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform .45s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a:hover span { transform: translateY(-2px); }
.nav-links a:hover::before, .nav-links a.active::before { transform: scaleX(1); }

.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-burger i { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: .35s var(--ease); }
.nav-burger.on i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.on i:nth-child(2) { opacity: 0; transform: scaleX(.2); }
.nav-burger.on i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================== SOUND BUTTON */
.sound-btn {
  position: relative; width: 40px; height: 40px; flex: none;
  display: grid; place-items: center; border-radius: 12px;
  border: 1px solid var(--line); background: var(--surface);
  color: var(--muted); transition: color .3s, border-color .3s, box-shadow .3s;
}
.sound-btn:hover { color: var(--accent); border-color: var(--accent); }
.sound-btn svg { position: relative; z-index: 2; }
.sound-btn .wave { opacity: 0; transform-origin: 11px 12px; transition: opacity .3s; }
.sound-btn .mute { opacity: 1; transition: opacity .3s; }
.sound-btn.on { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 45%, transparent); }
.sound-btn.on .mute { opacity: 0; }
.sound-btn.on .wave { opacity: 1; }
.sound-btn.on .w1 { animation: waveOut 1.8s ease-in-out infinite; }
.sound-btn.on .w2 { animation: waveOut 1.8s ease-in-out .35s infinite; }
@keyframes waveOut { 0%,100% { opacity: .25; } 50% { opacity: 1; } }
.sound-btn.on { box-shadow: 0 0 22px color-mix(in srgb, var(--accent) 22%, transparent); }

/* little equaliser that only moves while sound is on */
.sound-bars {
  position: absolute; bottom: 5px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: flex-end; gap: 1.5px; height: 6px; opacity: 0;
  transition: opacity .35s; pointer-events: none;
}
.sound-btn.on .sound-bars { opacity: .85; }
.sound-bars i { width: 1.5px; height: 2px; background: var(--accent); border-radius: 1px; }
.sound-btn.on .sound-bars i { animation: eq 1.1s ease-in-out infinite; }
.sound-bars i:nth-child(2) { animation-delay: .18s; }
.sound-bars i:nth-child(3) { animation-delay: .36s; }
.sound-bars i:nth-child(4) { animation-delay: .54s; }
@keyframes eq { 0%,100% { height: 2px; } 50% { height: 6px; } }

/* ============================================ ELECTRIC SWITCH */
.switch { position: relative; width: 40px; height: 60px; flex: none; }
.switch-plate {
  position: absolute; inset: 0; border-radius: 8px;
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), var(--shadow);
  display: grid; place-items: center;
  transition: box-shadow .4s;
}
.switch-screw { position: absolute; width: 4px; height: 4px; border-radius: 50%; background: var(--muted); opacity: .5; left: 50%; margin-left: -2px; }
.switch-screw.t { top: 4px; } .switch-screw.b { bottom: 4px; }
.switch-rocker {
  position: relative; width: 24px; height: 38px; border-radius: 4px;
  background: linear-gradient(180deg, #d9dde8, #a8aebf);
  box-shadow: 0 3px 0 rgba(0,0,0,.25), inset 0 -12px 14px rgba(0,0,0,.22);
  transition: transform .28s var(--ease), box-shadow .28s, background .4s;
  transform-origin: center;
}
html[data-theme="light"] .switch-rocker {
  background: linear-gradient(180deg, #ffffff, #dfe4f0);
  box-shadow: 0 3px 0 rgba(0,0,0,.14), inset 0 12px 14px rgba(0,0,0,.10);
  transform: rotateX(28deg);
}
html[data-theme="dark"] .switch-rocker { transform: rotateX(-28deg); }
.switch-glow {
  position: absolute; left: 50%; bottom: 5px; width: 6px; height: 6px; margin-left: -3px;
  border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 10px var(--accent), 0 0 22px var(--accent);
  animation: pulseDot 2.4s ease-in-out infinite;
}
@keyframes pulseDot { 0%,100%{opacity:.45; transform:scale(.85)} 50%{opacity:1; transform:scale(1.25)} }
.switch:hover .switch-plate { box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }
.switch-spark { position: absolute; inset: -14px; border-radius: 14px; pointer-events: none; opacity: 0; }
.switch.sparking .switch-spark {
  opacity: 1;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,.95) 0 2px, transparent 3px),
    radial-gradient(circle at 72% 44%, rgba(255,255,255,.9) 0 2px, transparent 3px),
    radial-gradient(circle at 50% 76%, rgba(255,255,255,.85) 0 2px, transparent 3px);
  animation: sparkOut .45s ease-out forwards;
}
@keyframes sparkOut { from { transform: scale(.5); opacity: 1; } to { transform: scale(1.7); opacity: 0; } }
.switch.tired { animation: switchShake .5s ease-in-out; }
@keyframes switchShake { 0%,100%{transform:translateX(0)} 20%{transform:translateX(-4px) rotate(-3deg)} 45%{transform:translateX(4px) rotate(3deg)} 70%{transform:translateX(-2px)} }

.blackout {
  position: fixed; inset: 0; background: #000; opacity: 0; z-index: 9998;
  pointer-events: none; transition: opacity .12s linear;
}
.blackout.flicker { animation: flicker 1.5s steps(1) forwards; }
@keyframes flicker {
  0%,7%,14%,25%,44%,70%   { opacity: 0; }
  4%,10%,20%,32%,55%,80%  { opacity: 1; }
  100% { opacity: 0; }
}

/* ======================================================= BUTTONS */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 9px;
  padding: 12px 22px; border-radius: 999px; font-size: 13.5px; font-weight: 400;
  letter-spacing: .4px; overflow: hidden; border: 1px solid var(--line);
  transition: transform .35s var(--ease), border-color .35s, color .35s, box-shadow .35s;
  will-change: transform;
}
.btn > span:not(.btn-shine) { position: relative; z-index: 2; }
.btn svg { position: relative; z-index: 2; }
.btn-shine {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,.35) 50%, transparent 80%);
  transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn:hover .btn-shine { transform: translateX(120%); }
.btn-primary {
  background: linear-gradient(115deg, var(--accent), var(--accent2));
  color: #04050a; border-color: transparent; font-weight: 600;
  box-shadow: 0 10px 34px color-mix(in srgb, var(--accent) 30%, transparent);
}
.btn-primary:hover { box-shadow: 0 16px 46px color-mix(in srgb, var(--accent) 45%, transparent); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-cv {
  background: var(--surface); backdrop-filter: blur(10px);
  font-family: 'JetBrains Mono', monospace; font-weight: 600; padding: 10px 18px;
}
.btn-cv:hover { border-color: var(--accent); color: var(--accent); box-shadow: 0 0 26px color-mix(in srgb, var(--accent) 28%, transparent); }
.btn.wide { width: 100%; justify-content: center; }

/* ========================================================= HERO */
.hero {
  min-height: 100vh; display: flex; flex-direction: column; justify-content: center;
  padding: 120px clamp(16px, 4vw, 46px) 60px; max-width: var(--max); margin: 0 auto;
  position: relative;
}
.hero-inner { display: grid; grid-template-columns: 1.25fr .95fr; gap: clamp(28px, 5vw, 70px); align-items: center; }

.kicker {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: 'JetBrains Mono', monospace; font-size: 11.5px; letter-spacing: 2.4px;
  text-transform: uppercase; color: var(--muted);
  padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--surface); margin-bottom: 22px;
}
.kicker .dot {
  width: 7px; height: 7px; border-radius: 50%; background: #2ce38a;
  box-shadow: 0 0 0 0 rgba(44,227,138,.7); animation: ping 2s infinite;
}
@keyframes ping { 70% { box-shadow: 0 0 0 9px rgba(44,227,138,0); } 100% { box-shadow: 0 0 0 0 rgba(44,227,138,0); } }

.hero-name {
  font-size: clamp(2.1rem, 6.4vw, 4.6rem); font-weight: 800; line-height: 1.02;
  letter-spacing: -.02em; margin-bottom: 10px;
  background: linear-gradient(100deg, var(--text) 20%, var(--accent) 55%, var(--accent2) 85%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: gradSlide 9s ease-in-out infinite;
}
@keyframes gradSlide { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

.hero-role { font-size: clamp(1.05rem, 2.4vw, 1.7rem); font-weight: 300; color: var(--accent); min-height: 1.6em; }
.caret { display: inline-block; width: 2px; height: 1em; background: var(--accent); margin-left: 3px; vertical-align: -2px; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.hero-tagline { font-family: 'JetBrains Mono', monospace; font-size: 12.5px; letter-spacing: 1.6px; color: var(--muted); margin: 14px 0 18px; text-transform: uppercase; }
.hero-summary { color: var(--muted); max-width: 56ch; font-size: 15px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 26px; }

/* socials */
.socials { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.socials a {
  position: relative; width: 44px; height: 44px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 14px; background: var(--surface);
  color: var(--muted); overflow: hidden;
  transition: transform .45s var(--ease), color .35s, border-color .35s, box-shadow .35s;
}
.socials a::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(130deg, var(--accent), var(--accent2));
  opacity: 0; transform: scale(.4); transition: .45s var(--ease); z-index: 0;
}
.socials a svg { position: relative; z-index: 1; width: 19px; height: 19px; transition: transform .45s var(--ease); }
.socials a:hover { color: #04050a; border-color: transparent; transform: translateY(-6px) rotate(-6deg); box-shadow: 0 12px 30px color-mix(in srgb, var(--accent) 35%, transparent); }
.socials a:hover::after { opacity: 1; transform: scale(1); }
.socials a:hover svg { transform: scale(1.18) rotate(6deg); }
.socials a .tip {
  position: absolute; bottom: -26px; left: 50%; transform: translateX(-50%);
  font-size: 9px; letter-spacing: 1.4px; text-transform: uppercase;
  font-family: 'JetBrains Mono', monospace; color: var(--accent); opacity: 0; transition: .3s;
  pointer-events: none; z-index: 2;
}
.socials a:hover .tip { opacity: 1; bottom: -20px; }
.socials.wide a { width: 50px; height: 50px; }

/* photo */
.hero-visual { display: flex; flex-direction: column; align-items: center; }
.photo-frame {
  position: relative; width: min(340px, 74vw); aspect-ratio: 1; border-radius: 30px;
  overflow: hidden; border: 1px solid var(--line); background: var(--bg2);
  box-shadow: var(--shadow); transform-style: preserve-3d;
}
.photo-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .6s; }
.photo-frame:hover img { transform: scale(1.06); }
.photo-ring {
  position: absolute; inset: -2px; border-radius: 32px; pointer-events: none; z-index: 3;
  background: conic-gradient(from 0deg, transparent, var(--accent), transparent 42%, var(--accent2), transparent 78%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; padding: 2px;
  animation: spin 7s linear infinite;
}
.photo-ring.r2 { inset: -14px; border-radius: 40px; opacity: .3; animation-duration: 13s; animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.photo-scan {
  position: absolute; left: 0; right: 0; height: 30%; z-index: 4; pointer-events: none;
  background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--accent) 22%, transparent), transparent);
  animation: scan 4.5s ease-in-out infinite;
}
@keyframes scan { 0%,100% { top: -30%; } 50% { top: 100%; } }
.photo-glare {
  position: absolute; inset: 0; z-index: 5; pointer-events: none; opacity: 0;
  background: radial-gradient(280px circle at var(--gx,50%) var(--gy,50%), rgba(255,255,255,.20), transparent 60%);
  transition: opacity .4s;
}
.photo-frame:hover .photo-glare { opacity: 1; }
.photo-frame.knock { animation: knock .35s var(--ease); }
@keyframes knock { 50% { transform: scale(.955) rotate(-1.2deg); } }
.photo-caption { text-align: center; font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 2px; color: var(--muted); text-transform: uppercase; }

/* stats */
.stats {
  list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  margin-top: clamp(40px, 7vw, 80px);
}
.stats li {
  padding: 20px 18px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); backdrop-filter: blur(10px);
  transition: transform .5s var(--ease), border-color .4s, background .4s;
}
.stats li:hover { transform: translateY(-8px); border-color: var(--accent); background: var(--surface-2); }
.stats b { display: block; font-family: 'JetBrains Mono', monospace; font-size: clamp(1.5rem, 3.2vw, 2.3rem); font-weight: 600; color: var(--accent); line-height: 1; }
.stats span { display: block; font-size: 12.5px; color: var(--text); margin-top: 8px; }
.stats i { display: block; font-size: 11px; color: var(--muted); font-style: normal; margin-top: 3px; }

.scroll-hint {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  font-family: 'JetBrains Mono', monospace; font-size: 9.5px; letter-spacing: 3px;
  text-transform: uppercase; color: var(--muted);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.scroll-hint span { width: 1px; height: 40px; background: linear-gradient(var(--accent), transparent); animation: dropLine 2s ease-in-out infinite; }
@keyframes dropLine { 0%,100% { transform: scaleY(.3); transform-origin: top; } 50% { transform: scaleY(1); } }

/* ===================================================== SECTIONS */
.section { max-width: var(--max); margin: 0 auto; padding: clamp(70px, 11vw, 140px) clamp(16px, 4vw, 46px); }
.section-head { margin-bottom: clamp(30px, 5vw, 56px); }
.section-kicker { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.section-title {
  font-size: clamp(1.9rem, 5.4vw, 3.3rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.05;
  position: relative; display: inline-block;
}
.section-title::after {
  content: ''; position: absolute; left: 0; bottom: -10px; height: 3px; width: 100%;
  background: linear-gradient(90deg, var(--accent), transparent);
  transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease) .2s; border-radius: 3px;
}
.reveal.in .section-title::after, .section-head.in .section-title::after { transform: scaleX(1); }

/* reveal */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* cards */
.card {
  padding: 24px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); backdrop-filter: blur(12px);
  transition: transform .5s var(--ease), border-color .4s, box-shadow .4s;
  transform-style: preserve-3d; position: relative; overflow: hidden;
}
.card h3 { font-size: 13px; letter-spacing: 2.4px; text-transform: uppercase; color: var(--muted); font-weight: 400; margin-bottom: 16px; font-family: 'JetBrains Mono', monospace; }
.card.glow::before {
  content: ''; position: absolute; inset: 0; opacity: 0; transition: opacity .4s; pointer-events: none;
  background: radial-gradient(340px circle at var(--gx,50%) var(--gy,50%), color-mix(in srgb, var(--accent) 16%, transparent), transparent 65%);
}
.card.glow:hover::before { opacity: 1; }
.card:hover { border-color: color-mix(in srgb, var(--accent) 55%, transparent); box-shadow: 0 20px 60px color-mix(in srgb, var(--accent) 12%, transparent); }

/* about */
.about-grid { display: grid; grid-template-columns: 1.4fr .85fr; gap: clamp(24px, 4vw, 50px); align-items: start; }
.about-copy p { color: var(--muted); font-size: 16px; margin-bottom: 18px; }
.about-copy p:first-child { font-size: clamp(1.05rem, 2.1vw, 1.4rem); color: var(--text); font-weight: 200; line-height: 1.55; }
.about-side { display: grid; gap: 16px; }
.lang-list, .contact-list { list-style: none; display: grid; gap: 12px; }
.lang-list li { display: flex; justify-content: space-between; align-items: center; font-size: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.lang-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.lang-list em { font-style: normal; font-family: 'JetBrains Mono', monospace; font-size: 11.5px; color: var(--accent); letter-spacing: 1px; }
.contact-list a { display: flex; align-items: center; gap: 11px; font-size: 14px; color: var(--muted); transition: color .3s, transform .3s var(--ease); }
.contact-list a:hover { color: var(--accent); transform: translateX(5px); }
.contact-list svg { width: 16px; height: 16px; flex: none; }
.contact-list.big a { font-size: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }

/* skills */
.skill-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.skill-card h3 { color: var(--accent); }
.skill-row { margin-bottom: 15px; }
.skill-row:last-child { margin-bottom: 0; }
.skill-row .top { display: flex; justify-content: space-between; font-size: 13.5px; margin-bottom: 7px; }
.skill-row .top em { font-style: normal; font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--muted); }
.bar { height: 5px; border-radius: 5px; background: var(--surface-2); overflow: hidden; }
.bar i {
  display: block; height: 100%; width: 0; border-radius: 5px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  transition: width 1.4s var(--ease); box-shadow: 0 0 12px color-mix(in srgb, var(--accent) 55%, transparent);
}

/* timeline */
.timeline { position: relative; padding-left: 42px; }
.timeline-rail { position: absolute; left: 13px; top: 8px; bottom: 8px; width: 2px; background: var(--line); border-radius: 2px; }
.timeline-rail i { display: block; width: 100%; height: 0; background: linear-gradient(var(--accent), var(--accent2)); border-radius: 2px; box-shadow: 0 0 14px var(--accent); transition: height .2s linear; }
.tl-item { position: relative; margin-bottom: 22px; }
.tl-item::before {
  content: ''; position: absolute; left: -35px; top: 26px; width: 12px; height: 12px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 14%, transparent);
  transition: transform .4s var(--ease), background .4s;
}
.tl-item:hover::before { transform: scale(1.5); background: var(--accent); }
.tl-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 4px; }
.tl-role { font-size: clamp(1.05rem, 2.1vw, 1.35rem); font-weight: 600; }
.tl-period { font-family: 'JetBrains Mono', monospace; font-size: 11.5px; letter-spacing: 1px; color: var(--accent); }
.tl-company { font-size: 14px; color: var(--muted); margin-bottom: 4px; }
.tl-tools { display: inline-block; font-family: 'JetBrains Mono', monospace; font-size: 10.5px; letter-spacing: 1px; color: var(--muted); padding: 3px 10px; border: 1px solid var(--line); border-radius: 999px; margin-bottom: 14px; }
.bullets { list-style: none; display: grid; gap: 9px; }
.bullets li { position: relative; padding-left: 20px; font-size: 14.5px; color: var(--muted); }
.bullets li::before { content: ''; position: absolute; left: 0; top: .62em; width: 9px; height: 1px; background: var(--accent); }

/* projects */
.project-grid { display: grid; gap: 22px; }
.project {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 0; overflow: hidden;
  border: 1px solid var(--line); border-radius: 24px; background: var(--surface);
  backdrop-filter: blur(12px); transform-style: preserve-3d; position: relative;
  transition: transform .5s var(--ease), border-color .4s, box-shadow .4s;
}
.project:nth-child(even) .project-media { order: 2; }
.project:hover { border-color: color-mix(in srgb, var(--accent) 55%, transparent); box-shadow: 0 30px 80px color-mix(in srgb, var(--accent) 14%, transparent); }
.project-media { position: relative; overflow: hidden; min-height: 260px; background: var(--bg2); }
.project-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .6s; }
.project:hover .project-media img { transform: scale(1.08) rotate(.6deg); }
.project-media::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(120deg, transparent 30%, color-mix(in srgb, var(--accent) 20%, transparent) 50%, transparent 70%);
  transform: translateX(-100%); transition: transform 1.1s var(--ease);
}
.project:hover .project-media::after { transform: translateX(100%); }
.project-body { padding: clamp(22px, 3vw, 34px); display: flex; flex-direction: column; justify-content: center; }
.project-num { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 3px; color: var(--accent); margin-bottom: 10px; }
.project h3 { font-size: clamp(1.15rem, 2.5vw, 1.6rem); font-weight: 600; line-height: 1.2; margin-bottom: 6px; }
.project .period { font-family: 'JetBrains Mono', monospace; font-size: 11.5px; color: var(--muted); margin-bottom: 16px; letter-spacing: 1px; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 7px; margin: 16px 0 0; }
.tags li {
  font-family: 'JetBrains Mono', monospace; font-size: 10.5px; letter-spacing: .8px;
  padding: 5px 11px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted);
  transition: .35s var(--ease);
}
.project:hover .tags li { border-color: color-mix(in srgb, var(--accent) 45%, transparent); color: var(--accent); }
.project-link { margin-top: 18px; align-self: flex-start; }

/* education */
.edu-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.edu-card h3 { color: var(--text); font-family: 'Sora', sans-serif; font-size: clamp(1rem, 2vw, 1.2rem); letter-spacing: 0; text-transform: none; margin-bottom: 6px; font-weight: 600; }
.edu-card .school { color: var(--accent); font-size: 14px; }
.edu-card .period { font-family: 'JetBrains Mono', monospace; font-size: 11.5px; color: var(--muted); margin: 8px 0; letter-spacing: 1px; }
.edu-card .note { font-size: 13.5px; color: var(--muted); }

/* contact */
.contact-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 4vw, 46px); align-items: start; }
.contact-note { color: var(--muted); font-size: 15.5px; margin-bottom: 26px; max-width: 42ch; }
.calendar-box {
  border: 1px solid var(--line); border-radius: 24px; overflow: hidden;
  background: var(--surface); backdrop-filter: blur(12px); min-height: 560px;
  box-shadow: var(--shadow); position: relative;
}
.calendar-box iframe { width: 100%; height: 620px; border: 0; display: block; }
/* booking card, used when the provider refuses to be embedded */
.calendar-box.is-card { min-height: 0; }
.cal-card {
  display: grid; place-items: center; gap: 18px; text-align: center;
  padding: clamp(44px, 6vw, 70px) clamp(24px, 4vw, 46px);
}
.cal-card-icon { position: relative; display: grid; place-items: center; margin-bottom: 4px; }
.cal-card-icon svg {
  width: 62px; height: 62px; color: var(--accent);
  filter: drop-shadow(0 0 18px color-mix(in srgb, var(--accent) 55%, transparent));
}
.cal-card-pulse {
  position: absolute; width: 62px; height: 62px; border-radius: 50%;
  border: 1px solid var(--accent); opacity: 0; animation: calPulse 2.8s ease-out infinite;
}
@keyframes calPulse {
  0%   { transform: scale(.8); opacity: .7; }
  100% { transform: scale(2.1); opacity: 0; }
}
.cal-card h4 { font-size: clamp(1.25rem, 2.6vw, 1.7rem); font-weight: 600; }
.cal-card p { color: var(--muted); font-size: 15px; max-width: 38ch; }
.cal-card .btn { margin-top: 6px; padding: 14px 28px; font-size: 14.5px; }
.cal-card-meta {
  font-family: 'JetBrains Mono', monospace; font-size: 10.5px; letter-spacing: 1.4px;
  text-transform: uppercase; color: var(--muted); opacity: .75;
}
.cal-empty { padding: 46px 30px; text-align: center; display: grid; gap: 16px; place-items: center; }
.cal-empty svg { width: 54px; height: 54px; color: var(--accent); }
.cal-empty h4 { font-size: 1.15rem; font-weight: 600; }
.cal-empty p { color: var(--muted); font-size: 14px; max-width: 40ch; }
.cal-empty code { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--accent); background: var(--surface-2); padding: 3px 8px; border-radius: 6px; }

/* footer */
#footer { text-align: center; padding: 60px 20px 46px; border-top: 1px solid var(--line); }
#footer p { color: var(--muted); font-size: 13.5px; }
.footer-small { font-size: 11.5px !important; opacity: .6; margin-top: 8px; font-family: 'JetBrains Mono', monospace; }

/* ======================================================== MODAL */
.modal { position: fixed; inset: 0; z-index: 100000; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.72); backdrop-filter: blur(10px); animation: fadeIn .4s var(--ease); }
@keyframes fadeIn { from { opacity: 0; } }
.modal-card {
  position: relative; width: min(400px, 100%); padding: 34px 30px 30px;
  background: var(--bg2); border: 1px solid var(--line); border-radius: 22px;
  box-shadow: 0 40px 100px rgba(0,0,0,.6); display: grid; gap: 14px;
  animation: popIn .55s var(--ease);
}
@keyframes popIn { from { opacity: 0; transform: translateY(26px) scale(.94); } }
.modal-x { position: absolute; top: 12px; right: 16px; font-size: 24px; color: var(--muted); line-height: 1; }
.modal-x:hover { color: var(--accent); }
.modal-lock { display: grid; place-items: center; margin-bottom: 4px; }
.modal-lock span {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(130deg, var(--accent), var(--accent2));
  box-shadow: 0 0 34px color-mix(in srgb, var(--accent) 45%, transparent);
  position: relative;
}
.modal-lock span::before { content: ''; width: 12px; height: 10px; border-radius: 2px; background: #04050a; }
.modal-lock span::after { content: ''; position: absolute; top: 11px; width: 14px; height: 12px; border: 2.5px solid #04050a; border-bottom: 0; border-radius: 8px 8px 0 0; }
.modal-card h3 { text-align: center; font-size: 1.25rem; font-weight: 600; }
.modal-sub { text-align: center; font-size: 12.5px; color: var(--muted); margin-top: -6px; }
.modal-card label { display: grid; gap: 6px; font-size: 12px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--muted); font-family: 'JetBrains Mono', monospace; }
.modal-card input {
  padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--surface); color: var(--text); font-family: 'Sora', sans-serif;
  font-size: 15px; letter-spacing: normal; text-transform: none; transition: border-color .3s, box-shadow .3s;
}
.modal-card input:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 16%, transparent); }
.modal-error { font-size: 13px; color: #ff6b81; text-align: center; }
.modal-card.shake { animation: shake .45s; }
@keyframes shake { 10%,90%{transform:translateX(-3px)} 30%,70%{transform:translateX(6px)} 50%{transform:translateX(-8px)} }

/* ==================================================== ASSISTANT */
.orb {
  position: fixed; right: 26px; bottom: 26px; z-index: 9000;
  width: 60px; height: 60px; display: grid; place-items: center;
  transition: transform .5s var(--ease), opacity .4s;
}
.orb-core {
  position: relative; z-index: 2; width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center; color: #04050a;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: 0 12px 34px color-mix(in srgb, var(--accent) 42%, transparent);
  transition: transform .5s var(--ease), box-shadow .4s;
}
.orb-core svg { animation: orbSpin 14s linear infinite; }
@keyframes orbSpin { to { transform: rotate(360deg); } }
.orb-ring {
  position: absolute; inset: 0; border-radius: 50%; z-index: 1;
  border: 1px solid var(--accent); opacity: 0;
  animation: orbPulse 3s ease-out infinite;
}
.orb-ring.d2 { animation-delay: 1.5s; }
@keyframes orbPulse {
  0%   { transform: scale(.85); opacity: .65; }
  100% { transform: scale(1.9);  opacity: 0; }
}
.orb:hover .orb-core { transform: scale(1.09) rotate(8deg); box-shadow: 0 16px 44px color-mix(in srgb, var(--accent) 60%, transparent); }
.orb.hidden { transform: scale(.4) translateY(20px); opacity: 0; pointer-events: none; }
.orb-badge {
  position: absolute; top: -2px; right: -2px; z-index: 3;
  min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px;
  background: #ff4d6d; color: #fff; font-size: 11px; font-weight: 600;
  display: grid; place-items: center; border: 2px solid var(--bg);
  transition: transform .4s var(--ease), opacity .3s;
}
.orb-badge.gone { transform: scale(0); opacity: 0; }

.chat {
  position: fixed; right: 26px; bottom: 26px; z-index: 9001;
  width: min(390px, calc(100vw - 32px)); height: min(560px, calc(100vh - 120px));
  display: flex; flex-direction: column; overflow: hidden;
  background: color-mix(in srgb, var(--bg2) 94%, transparent);
  backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid var(--line); border-radius: 22px;
  box-shadow: 0 30px 90px rgba(0,0,0,.5);
  transform-origin: bottom right;
  animation: chatIn .5s var(--ease);
}
.chat[hidden] { display: none; }
@keyframes chatIn { from { opacity: 0; transform: scale(.86) translateY(26px); } }
.chat.closing { animation: chatOut .3s var(--ease) forwards; }
@keyframes chatOut { to { opacity: 0; transform: scale(.9) translateY(20px); } }

.chat-head {
  display: flex; align-items: center; gap: 12px; padding: 15px 16px;
  border-bottom: 1px solid var(--line); flex: none;
}
.chat-avatar {
  width: 36px; height: 36px; border-radius: 12px; flex: none;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: grid; place-items: center; position: relative;
}
.chat-avatar i {
  width: 11px; height: 11px; border-radius: 50%; background: #04050a;
  animation: think 2.4s ease-in-out infinite;
}
@keyframes think { 0%,100% { transform: scale(1); } 50% { transform: scale(.55); } }
.chat-who { flex: 1; min-width: 0; line-height: 1.3; }
.chat-who strong { display: block; font-size: 14.5px; font-weight: 600; }
.chat-who span {
  display: block; font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px; letter-spacing: .8px; color: var(--muted); text-transform: uppercase;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.chat-x { font-size: 25px; line-height: 1; color: var(--muted); padding: 0 4px; }
.chat-x:hover { color: var(--accent); }

.chat-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.chat-log::-webkit-scrollbar { width: 6px; }
.chat-log::-webkit-scrollbar-thumb { background: var(--surface-2); border-radius: 6px; border: 0; }

.msg { max-width: 88%; font-size: 14px; line-height: 1.6; animation: msgIn .45s var(--ease); }
@keyframes msgIn { from { opacity: 0; transform: translateY(10px); } }
.msg.bot { align-self: flex-start; }
.msg.me { align-self: flex-end; }
.msg .bubble {
  padding: 11px 14px; border-radius: 16px; white-space: pre-wrap; word-break: break-word;
}
.msg.bot .bubble { background: var(--surface); border: 1px solid var(--line); border-bottom-left-radius: 5px; }
.msg.me .bubble {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #04050a; border-bottom-right-radius: 5px; font-weight: 400;
}
.msg .bubble b { font-weight: 600; color: var(--accent); }
.msg.me .bubble b { color: inherit; }
.msg .bubble em { font-style: normal; font-size: 12px; color: var(--muted); }
.msg .go {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 10px;
  padding: 9px 15px; border-radius: 999px; font-size: 13px;
  background: linear-gradient(135deg, var(--accent), var(--accent2)); color: #04050a;
  font-weight: 600; transition: transform .3s var(--ease), box-shadow .3s;
}
.msg .go:hover { transform: translateY(-2px); box-shadow: 0 10px 26px color-mix(in srgb, var(--accent) 40%, transparent); }

.typing { display: flex; gap: 4px; padding: 14px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: dot 1.3s ease-in-out infinite; }
.typing i:nth-child(2) { animation-delay: .18s; }
.typing i:nth-child(3) { animation-delay: .36s; }
@keyframes dot { 0%,60%,100% { opacity: .25; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-4px); } }

.chat-chips { display: flex; flex-wrap: wrap; gap: 7px; padding: 0 16px 12px; flex: none; }
.chat-chips button {
  font-size: 12px; padding: 7px 13px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--muted); background: var(--surface);
  transition: .3s var(--ease); animation: msgIn .4s var(--ease) backwards;
}
.chat-chips button:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

.chat-form { display: flex; gap: 8px; padding: 12px 14px; border-top: 1px solid var(--line); flex: none; }
.chat-form input {
  flex: 1; min-width: 0; padding: 11px 14px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface); color: var(--text);
  font-family: 'Sora', sans-serif; font-size: 14px; transition: border-color .3s, box-shadow .3s;
}
.chat-form input:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 14%, transparent); }
.chat-form button {
  width: 42px; height: 42px; flex: none; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent2)); color: #04050a;
  transition: transform .3s var(--ease), box-shadow .3s;
}
.chat-form button:hover { transform: scale(1.08); box-shadow: 0 8px 22px color-mix(in srgb, var(--accent) 45%, transparent); }

@media (max-width: 520px) {
  .orb { right: 16px; bottom: 16px; }
  .chat { right: 8px; bottom: 8px; width: calc(100vw - 16px); height: min(76vh, calc(100vh - 90px)); }
}

/* ======================================================== TOAST */
.toast {
  position: fixed; left: 50%; bottom: 34px; transform: translateX(-50%) translateY(20px);
  z-index: 100001; padding: 13px 22px; border-radius: 999px;
  background: var(--bg2); border: 1px solid var(--accent); color: var(--text);
  font-size: 13.5px; box-shadow: 0 18px 50px rgba(0,0,0,.4);
  opacity: 0; transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.toast[hidden] { display: none; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ==================================================== RESPONSIVE */
@media (max-width: 980px) {
  .hero-inner, .about-grid, .contact-wrap { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .project { grid-template-columns: 1fr; }
  .project:nth-child(even) .project-media { order: 0; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .nav-burger { display: flex; }
  .nav-links {
    position: fixed; inset: 0 0 auto; top: 0; padding: 90px 26px 30px;
    flex-direction: column; gap: 6px;
    background: color-mix(in srgb, var(--bg) 96%, transparent); backdrop-filter: blur(20px);
    transform: translateY(-100%); transition: transform .6s var(--ease); z-index: -1;
    border-bottom: 1px solid var(--line);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { font-size: 20px; padding: 12px 4px; }
}
@media (max-width: 520px) {
  .stats { grid-template-columns: 1fr; }
  .btn-cv span:last-child { display: inline; }
  .nav-logo { width: 92px; height: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
