/* Hero: one stage, one message, one primary action. */
.site-header { min-height: 88px; border-bottom: 0; }
.hero { height: calc(100svh - 88px); min-height: 600px; padding: 0 0 34px; display: flex; flex-direction: column; }
.hero-atmosphere { inset: -88px -52px 0; }
.hero .orb-green { top: 20%; left: 25%; width: 50%; height: 65%; opacity: .4; }
.hero .orb-blue { top: 12%; right: 12%; width: 50%; height: 70%; opacity: .4; }
.hero #hero-particles { opacity: .3; }
.hero-stage { flex: 1; min-height: 410px; position: relative; display: grid; place-items: center; isolation: isolate; overflow: visible; }
.hero .hero-name { position: absolute; inset: 35px 0 auto; width: 100%; margin: 0; display: block; text-align: center; font-family: Arial, Helvetica, sans-serif; font-size: clamp(80px, 11.4vw, 164px); font-weight: 900; line-height: .95; letter-spacing: -.075em; white-space: nowrap; background: linear-gradient(180deg, #646b75 4%, #c4d3dc 100%); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; transform: none; animation: hero-title-in 1.1s cubic-bezier(.16,1,.3,1) both; }
.hero .hero-name>span, .hero .hero-name>span:first-child { display: inline; margin: 0; }
.hero .hero-name::after { display: none; }
.hero-avatar-track { position: absolute; inset: 0; display: grid; place-items: center; z-index: 1; pointer-events: none; transform: translate3d(var(--avatar-x,0px),var(--avatar-y,0px),0) rotate(var(--avatar-r,0deg)); transition: transform .65s cubic-bezier(.2,.8,.2,1); }
.hero-stage::before { content: ''; position: absolute; z-index: -1; inset: 17% 1% 3%; border-radius: 50%; background: radial-gradient(ellipse at 28% 62%,#a8ff5760,transparent 62%),radial-gradient(ellipse at 76% 35%,#49d9ff70,transparent 65%); filter: blur(48px); opacity: .9; animation: portrait-glow 8s ease-in-out infinite alternate; pointer-events: none; }
.hero-avatar-float { height: clamp(420px,calc(100svh - 230px),720px); aspect-ratio: 1122/1402; animation: avatar-arrive 1.4s cubic-bezier(.16,1,.3,1) both, avatar-float 6s 1.4s ease-in-out infinite; }
.hero-avatar { display: block; height: 100%; width: 100%; object-fit: contain; filter: drop-shadow(0 18px 28px #0005); mask-image: linear-gradient(#000 0%,#000 76%,#000b 88%,transparent 100%); }
.hero-base { position: relative; display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; padding-top: 12px; z-index: 2; animation: hero-copy-in 1s .4s both; }
.hero-proposal .eyebrow { color: #a4afb6; font-size: 8px; letter-spacing: 1.6px; }
.hero-proposal p { margin: 15px 0 11px; font-size: clamp(25px,2.5vw,36px); line-height: 1.12; letter-spacing: -1px; color: #eef3ef; }
.hero-proposal p em { font-family: var(--serif); font-weight: 400; color: var(--lime); }
.hero-description { font-size: 11px; line-height: 1.7; color: #859396; }
.hero-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 22px; }
.hero-contact { border-radius: 100px; min-width: 242px; padding: 19px 25px; border: 1px solid #d3ff9b; background: linear-gradient(130deg,#b1e864,#d7ff9b); box-shadow: 0 0 6px #c5ff7245, 0 0 30px #c5ff7225, inset 0 1px 0 #fff7; font-size: 12px; }
.hero-contact:hover { box-shadow: 0 0 8px #c5ff7280,0 0 45px #c5ff7240; }
.hero-work-link { font-size: 10px; color: #9ca9ad; display: flex; align-items: center; gap: 22px; padding: 5px 4px; }
.hero-work-link span { color: var(--lime); font-size: 17px; transition: transform .3s; }
.hero-work-link:hover span { transform: translateY(4px); }
.real-projects { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.real-project { display: block; position: relative; aspect-ratio: 1.35; padding: 38px 15px 40px; overflow: hidden; background: radial-gradient(ellipse at 50% 0%,#28312c,#101816 75%); }
.project-suelen { background: radial-gradient(ellipse at 50% 0%,#49353e,#20191f 75%); }
.project-grazi { background: radial-gradient(ellipse at 50% 0%,#444434,#1c251e 75%); }
.project-valeria { background: radial-gradient(ellipse at 50% 0%,#30463d,#17241f 75%); }
.project-browser-line { position: absolute; left: 15px; right: 15px; top: 22px; display: flex; align-items: center; gap: 4px; }
.project-browser-line i { width: 4px; height: 4px; border-radius: 50%; background: #ffffff40; }
.project-browser-line span { margin-left: auto; font-size: 6px; letter-spacing: 1px; color: #c2ccc6; }
.project-screenshot { width: 100%; height: auto; display: block; border: 1px solid #ffffff20; border-radius: 3px; box-shadow: 0 18px 25px #0005; transition: transform .65s cubic-bezier(.2,.8,.2,1); }
.real-project:hover .project-screenshot { transform: translateY(-3px) scale(1.025); }
.project-view { position: absolute; left: 17px; right: 17px; bottom: 14px; display: flex; justify-content: space-between; font-size: 9px; color: #d5e1d8; }
.project-view>span { color: var(--lime); font-size: 14px; }
.real-projects .project-caption { align-items: flex-start; gap: 9px; }
.real-projects .project-caption h3 { font-size: 17px; }
.real-projects .project-caption div>span { font-size: 6px; line-height: 1.7; }
.motion-paused .hero-avatar-float { animation-play-state: paused; }
.motion-paused .hero-avatar-track { transition: none; }
.motion-paused .hero-stage::before { animation-play-state: paused; }
@keyframes portrait-glow { from { opacity: .7; transform: scale(.96); } to { opacity: 1; transform: scale(1.07); } }
@keyframes avatar-arrive { from { opacity: 0; scale: .87; translate: 0 45px; filter: blur(8px); } to { opacity: 1; scale: 1; translate: 0 0; filter: blur(0); } }
@keyframes avatar-float { 0%,100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-10px) rotate(1deg); } }
@keyframes hero-title-in { from { opacity: 0; translate: 0 25px; } to { opacity: 1; translate: 0 0; } }
@keyframes hero-copy-in { from { opacity: 0; translate: 0 15px; } to { opacity: 1; translate: 0 0; } }
@media(min-width:1500px) { .hero .hero-name { font-size: 164px; } }
@media(max-width:1050px) {
  .hero-atmosphere { left: -32px; right: -32px; }
  .hero .hero-name { top: 48px; font-size: 11.2vw; }
  .hero-avatar-float { max-height: 590px; }
  .real-projects { gap: 17px; }
  .real-project { aspect-ratio: 1.15; padding: 36px 10px 36px; }
  .project-browser-line { left: 10px; right: 10px; }
  .real-projects .project-caption h3 { font-size: 15px; }
}
@media(max-width:700px) {
  .site-header { min-height: 86px; }
  .hero { height: auto; min-height: calc(100svh - 86px); padding: 0 0 30px; }
  .hero-atmosphere { inset: -86px -20px 0; }
  .hero-stage { flex: 1 0 auto; min-height: 430px; }
  .hero .hero-name { inset: 27px 0 auto; font-size: 25vw; line-height: .89; letter-spacing: -.08em; white-space: normal; }
  .hero .hero-name>span, .hero .hero-name>span:first-child { display: block; }
  .hero .hero-name>span:last-child { font-size: 19vw; }
  .hero-avatar-track { inset: 38px -15px -14px; }
  .hero-avatar-float { height: 420px; max-height: 100%; }
  .hero-stage::before { inset: 25% 1% 0; filter: blur(32px); }
  .hero-base { padding-top: 10px; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
  .hero-proposal .eyebrow { font-size: 7px; letter-spacing: 1px; }
  .hero-proposal p { font-size: clamp(36px,10.25vw,44px); margin: 13px 0 9px; }
  .hero-description { font-size: 10px; }
  .hero-actions { align-items: center; width: 100%; gap: 13px; }
  .hero-contact { min-width: 245px; font-size: 11px; padding: 17px 24px; }
  .hero-work-link { font-size: 9px; }
  .real-projects { grid-template-columns: 1fr; gap: 34px; }
  .real-project { aspect-ratio: 1.38; padding: 38px 15px 38px; }
  .project-browser-line { left: 15px; right: 15px; }
  .real-projects .project-caption h3 { font-size: 17px; }
}
@media(max-width:360px) {
  .hero-stage { min-height: 365px; }
  .hero-avatar-track { inset: 35px -20px -10px; }
  .hero-avatar-float { height: 360px; }
  .hero-proposal p { font-size: clamp(34px,10.25vw,37px); }
  .hero-description { display: block; max-width: 240px; }
  .real-project { aspect-ratio: 1.25; }
}
@media(prefers-reduced-motion:reduce) {
  .hero-avatar-track { transform: none; }
  .hero-avatar-float, .hero-base, .hero .hero-name { opacity: 1; translate: none; scale: 1; filter: none; }
  .hero-stage::before { animation: none; transform: none; opacity: .85; }
}
@media(min-width:701px) {
  .hero { display: grid; grid-template-columns: 1fr 1.12fr; align-items: center; gap: 26px; padding-bottom: 36px; }
  .hero-stage { grid-column: 2; grid-row: 1; height: min(100%,64vw,760px); min-width: 0; }
  .hero-base { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 30px; padding: 0; }
  .hero-proposal p { max-width: 530px; font-size: clamp(43px,5.2vw,75px); line-height: 1.06; letter-spacing: -.055em; margin: 25px 0 20px; }
  .hero-description { display: block; max-width: 340px; font-size: 13px; line-height: 1.8; }
  .hero-actions { align-items: flex-start; gap: 20px; }
  .hero .hero-name { top: 6%; font-size: clamp(70px,7.5vw,108px); white-space: normal; line-height: .93; letter-spacing: -.07em; }
  .hero .hero-name>span, .hero .hero-name>span:first-child { display: block; }
  .hero .hero-name>span:last-child { font-size: .82em; }
  .hero-avatar-track { inset: 12% -8% -6%; }
  .hero-avatar-float { height: min(680px,74svh,51vw); max-height: none; }
}
