/* Stile derivato da ArtCode: fondo nero, arancio pesca, Syne / DM Sans / Space Mono */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #050506;
  --bg-elevated: #0c0c0e;
  --bg-glass: rgba(255, 255, 255, 0.02);
  --orange: #f4a574;
  --orange-hot: #e8956a;
  --orange-light: #f8c4a0;
  --orange-neon: #f0b080;
  --orange-glow: rgba(244, 165, 116, 0.5);
  --orange-subtle: rgba(244, 165, 116, 0.06);
  --green: #7fe0a0;
  --blue: #8fb8ff;
  --text: #f0ece6;
  --text-dim: #aaa5a1;
  --text-muted: #7d7873;
  --border: rgba(255, 255, 255, 0.06);
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'Space Mono', monospace;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --gutter: 48px;
}

html { scrollbar-width: thin; scrollbar-color: var(--orange) var(--bg); }
body { background: var(--bg); color: var(--text); font-family: var(--font-body); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
body.custom-cursor, body.custom-cursor * { cursor: none !important; }
a { color: inherit; }
::selection { background: var(--orange); color: var(--bg); }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

/* =========== LOADER =========== */
.loader { position: fixed; inset: 0; background: var(--bg); z-index: 99999; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 30px; transition: opacity 0.35s ease, visibility 0.35s ease; }
.loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-logo { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.6rem, 6vw, 2.5rem); letter-spacing: 6px; text-transform: uppercase; position: relative; overflow: hidden; }
.loader-logo span { color: var(--orange); margin-left: 0.3em; }
.loader-logo::after { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(244,165,116,0.3), transparent); animation: loaderSweep 1.2s ease-in-out infinite; }
@keyframes loaderSweep { to { left: 100%; } }
.loader-mark { width: 72px; height: 72px; animation: markIn 0.5s var(--ease) both; filter: drop-shadow(0 0 22px rgba(244,165,116,0.35)); }
@keyframes markIn { from { opacity: 0; transform: scale(0.8) rotate(-8deg); } }
.loader-bar { width: 200px; height: 2px; background: var(--border); border-radius: 2px; overflow: hidden; }
.loader-bar-fill { height: 100%; background: var(--orange); width: 0%; animation: loaderFill 0.45s var(--ease) forwards; box-shadow: 0 0 15px var(--orange-glow); }
@keyframes loaderFill { 50% { width: 70%; } 100% { width: 100%; } }
.loader-percent { font-family: var(--font-mono); font-size: 0.7rem; color: var(--text-muted); letter-spacing: 3px; }

/* =========== CURSOR / AMBIENT =========== */
.cursor-outer, .cursor-inner, .glow-orb { display: none; }
body.custom-cursor .cursor-outer, body.custom-cursor .cursor-inner, body.custom-cursor .glow-orb { display: block; }
.cursor-outer { position: fixed; width: 40px; height: 40px; border: 1.5px solid var(--orange); border-radius: 50%; pointer-events: none; z-index: 10000; transform: translate(-50%, -50%); transition: width 0.4s var(--ease), height 0.4s var(--ease), background 0.3s ease; mix-blend-mode: difference; }
.cursor-inner { position: fixed; width: 6px; height: 6px; background: var(--orange); border-radius: 50%; pointer-events: none; z-index: 10001; transform: translate(-50%, -50%); }
.cursor-outer.hover { width: 70px; height: 70px; background: rgba(244,165,116,0.1); }
.cursor-outer.clicking { width: 30px; height: 30px; background: var(--orange-glow); }
.glow-orb { position: fixed; width: 700px; height: 700px; border-radius: 50%; background: radial-gradient(circle, rgba(244,165,116,0.08) 0%, rgba(244,165,116,0.02) 40%, transparent 70%); pointer-events: none; z-index: 1; transform: translate(-50%, -50%); filter: blur(40px); }
#bg-canvas { position: fixed; inset: 0; z-index: 0; width: 100%; height: 100%; transition: opacity 0.3s linear; }
body::before { content: ''; position: fixed; inset: 0; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E"); z-index: 2; pointer-events: none; animation: noiseShift 0.5s steps(3) infinite; }
@keyframes noiseShift { 33% { transform: translate(-1px, 1px); } 66% { transform: translate(1px, -1px); } }
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--orange-hot), var(--orange), var(--orange-light)); z-index: 9999; box-shadow: 0 0 20px var(--orange-glow); }
.scanline { position: fixed; top: 0; left: 0; width: 100%; height: 2px; background: linear-gradient(90deg, transparent, var(--orange-glow), transparent); z-index: 9998; pointer-events: none; animation: scanline 5s linear infinite; opacity: 0.12; }
@keyframes scanline { from { top: -2px; } to { top: 100vh; } }

/* =========== NAV =========== */
nav { position: fixed; top: 0; left: 0; width: 100%; padding: 22px var(--gutter); display: flex; justify-content: space-between; align-items: center; gap: 24px; z-index: 1000; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); background: rgba(5,5,6,0.55); border-bottom: 1px solid var(--border); transform: translateY(-100%); transition: padding 0.4s var(--ease); }
nav.animate { animation: navSlide 0.8s var(--ease) forwards; }
nav.scrolled { padding-top: 14px; padding-bottom: 14px; }
@keyframes navSlide { to { transform: translateY(0); } }
.logo { display: block; line-height: 0; border-radius: 12px; transition: transform 0.5s var(--ease), filter 0.5s; }
.logo img { width: 40px; height: 40px; display: block; }
.logo:hover { transform: rotate(-6deg) scale(1.06); filter: drop-shadow(0 0 14px var(--orange-glow)); }
.nav-links { display: flex; gap: 36px; }
.nav-links a { color: var(--text-dim); text-decoration: none; font-size: 0.75rem; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; transition: color 0.3s ease; position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 1px; background: var(--orange); transition: width 0.4s var(--ease); }
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }
.nav-controls { display: flex; align-items: center; gap: 12px; }

.lang-toggle { display: inline-flex; border: 1px solid var(--border); border-radius: 100px; background: var(--bg-glass); padding: 4px; cursor: pointer; }
.lang-toggle span { font: 700 0.68rem var(--font-mono); letter-spacing: 1px; color: var(--text-muted); padding: 7px 10px; border-radius: 100px; transition: all 0.4s var(--ease); }
.lang-toggle span.active { color: var(--orange); background: var(--orange-subtle); }

/* =========== MAIN / SWITCH TRANSITION =========== */
main { position: relative; z-index: 3; }
main > *:not(.hero) { transition: opacity 0.28s ease, filter 0.28s ease, transform 0.28s var(--ease); }
main.switching > *:not(.hero), main.switching .hero h1, main.switching .hero-sub, main.switching .hero-name { opacity: 0; filter: blur(8px); transform: translateY(8px); }
.hero h1, .hero-sub, .hero-name { transition: opacity 0.28s ease, filter 0.28s ease, transform 0.28s var(--ease); }

/* =========== HERO =========== */
.hero { isolation: isolate; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 140px var(--gutter) 60px; position: relative; overflow: hidden; }
.hero-lines { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero::before { content: ''; position: absolute; inset: 8% 4%; background: radial-gradient(ellipse at center, rgba(5,5,6,0.62) 0%, rgba(5,5,6,0.35) 45%, transparent 72%); pointer-events: none; z-index: -1; }
.hero > * { position: relative; }
.hero > .hero-lines { position: absolute; }
.hero-lines .h-line { position: absolute; height: 1px; width: 100%; background: linear-gradient(90deg, transparent, rgba(244,165,116,0.1), transparent); animation: hLineSweep 3s ease-in-out infinite; }
.hero-lines .h-line:nth-child(1) { top: 25%; }
.hero-lines .h-line:nth-child(2) { top: 50%; animation-delay: -1s; }
.hero-lines .h-line:nth-child(3) { top: 75%; animation-delay: -2s; }
.hero-lines .v-line { position: absolute; width: 1px; height: 100%; background: linear-gradient(180deg, transparent, rgba(244,165,116,0.06), transparent); }
.hero-lines .v-line:nth-child(4) { left: 20%; } .hero-lines .v-line:nth-child(5) { left: 40%; }
.hero-lines .v-line:nth-child(6) { left: 60%; } .hero-lines .v-line:nth-child(7) { left: 80%; }
@keyframes hLineSweep { 50% { opacity: 0.8; } 0%, 100% { opacity: 0.3; } }

.hero-badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 22px; border: 1px solid var(--border); border-radius: 100px; font-size: 0.68rem; letter-spacing: 3px; text-transform: uppercase; color: var(--text-dim); margin-bottom: 28px; opacity: 0; transform: translateY(30px) scale(0.9); backdrop-filter: blur(10px); background: var(--bg-glass); }
.hero-badge.animate { animation: badgeReveal 1s var(--ease) forwards; }
@keyframes badgeReveal { to { opacity: 1; transform: none; } }
.dot, .status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px rgba(127,224,160,0.6); animation: pulseDot 2s infinite; flex-shrink: 0; }
@keyframes pulseDot { 50% { transform: scale(1.35); box-shadow: 0 0 18px rgba(127,224,160,0.6); } }

.hero-name { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 3px; text-transform: uppercase; color: var(--orange); margin-bottom: 28px; opacity: 0; transform: translateY(20px); }
.hero-name.animate { animation: fadeUp 1s var(--ease) forwards; }

.hero h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.4rem, 6.2vw, 6.4rem); line-height: 0.95; letter-spacing: -0.04em; margin-bottom: 36px; }
.hero-line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero-line-inner { display: inline-block; transform: translateY(120%); }
.hero-line-inner.animate { animation: lineReveal 1.2s var(--ease) forwards; }
.hero-line-inner.revealed { transform: none; animation: none; }
.hero-line-inner.glitching, .hero h1:hover .hero-line-inner.revealed { animation: glitch 0.35s steps(2); }
@keyframes lineReveal { to { transform: translateY(0); } }
.highlight { display: inline-block; }
.highlight-text { background: linear-gradient(135deg, var(--orange-hot), var(--orange), var(--orange-light)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; background-size: 200% 200%; animation: gradientShift 3s ease infinite; }
@keyframes gradientShift { 50% { background-position: 100% 50%; } }
@keyframes glitch {
  0% { text-shadow: 2px 0 var(--orange), -2px 0 #0ff; transform: translate(2px, 0); }
  25% { text-shadow: -2px 0 var(--orange), 2px 0 #0ff; transform: translate(-2px, 1px); }
  50% { text-shadow: 2px 2px var(--orange), -2px -2px #0ff; transform: translate(0, -1px); }
  75% { text-shadow: -1px 2px var(--orange), 1px -2px #0ff; transform: translate(-1px, 0); }
  100% { text-shadow: none; transform: none; }
}

.hero-sub { font-size: 1.08rem; color: var(--text-dim); max-width: 680px; line-height: 1.8; font-weight: 300; opacity: 0; transform: translateY(40px); }
.hero-sub.animate { animation: fadeUp 1s var(--ease) forwards; }
.hero-cta-group { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 40px; opacity: 0; transform: translateY(40px); }
.hero-cta-group.animate, .hero-meta.animate, .scroll-indicator.animate { animation: fadeUp 1s var(--ease) forwards; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }
.hero-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin-top: 32px; font-family: var(--font-mono); font-size: 0.8rem; color: var(--text-muted); letter-spacing: 1px; opacity: 0; transform: translateY(30px); }
.hero-meta a { color: var(--text-dim); text-decoration: none; transition: color 0.3s; }
.hero-meta a:hover { color: var(--orange); }

.btn-primary, .btn-ghost { display: inline-block; padding: 17px 40px; border-radius: 100px; font: 700 0.88rem var(--font-body); letter-spacing: 0.5px; text-decoration: none; position: relative; overflow: hidden; transition: transform 0.3s var(--ease), box-shadow 0.3s ease, background 0.3s ease, color 0.4s var(--ease), border-color 0.4s; }
.btn-primary { background: var(--orange); color: var(--bg); }
.btn-primary:hover { background: var(--orange-neon); box-shadow: 0 0 20px var(--orange-glow), 0 0 60px rgba(244,165,116,0.25); }
.btn-ghost { color: var(--text); border: 1px solid var(--border); font-weight: 500; backdrop-filter: blur(10px); isolation: isolate; }
.btn-ghost::after { content: ''; position: absolute; inset: 0; border-radius: 100px; background: var(--orange); transform: scale(0); transition: transform 0.5s var(--ease); z-index: -1; }
.btn-ghost:hover { border-color: var(--orange); color: var(--bg); }
.btn-ghost:hover::after { transform: scale(1); }

.scroll-indicator { margin-top: 48px; display: flex; flex-direction: column; align-items: center; gap: 10px; opacity: 0; }
.scroll-indicator span { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 4px; text-transform: uppercase; color: var(--text-muted); }
.scroll-mouse { width: 22px; height: 36px; border: 1.5px solid var(--text-muted); border-radius: 12px; position: relative; }
.scroll-mouse::before { content: ''; position: absolute; top: 6px; left: 50%; width: 3px; height: 8px; border-radius: 3px; background: var(--orange); animation: scrollWheel 2s ease-in-out infinite; transform: translateX(-50%); }
@keyframes scrollWheel { 100% { transform: translateX(-50%) translateY(12px); opacity: 0; } }

/* =========== MARQUEE =========== */
.stats-marquee { padding: 44px 0; overflow: hidden; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); position: relative; }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 34s linear infinite; }
.stats-marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.stat-item { display: flex; align-items: baseline; gap: 12px; flex-shrink: 0; }
.stat-number { font-family: var(--font-display); font-weight: 800; font-size: 3rem; line-height: 1; background: linear-gradient(135deg, var(--orange), var(--orange-light)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat-label { font-size: 0.8rem; color: var(--text-dim); letter-spacing: 1.5px; text-transform: uppercase; }
.stat-sep { color: var(--orange); font-size: 1.2rem; opacity: 0.3; }

/* =========== SECTIONS =========== */
.section { padding: 0 var(--gutter) 110px; max-width: 1440px; margin: 0 auto; }
.section-tight { padding-bottom: 60px; }
.section-header { padding: 110px 0 48px; display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.section-label { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 3.5px; text-transform: uppercase; color: var(--orange); margin-bottom: 16px; font-weight: 700; }
.section-number { color: var(--text-muted); margin-right: 12px; }
.section-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.2rem, 5vw, 4.5rem); line-height: 1.05; letter-spacing: -0.03em; max-width: 760px; }
.section-sub { margin-top: 14px; font-family: var(--font-mono); font-size: 0.84rem; letter-spacing: 1px; color: var(--text-dim); }
.section-desc { font-size: 0.95rem; color: var(--text-dim); max-width: 400px; line-height: 1.8; font-weight: 300; }
.divider { padding: 0 var(--gutter); position: relative; z-index: 3; }
.divider-line { height: 1px; background: linear-gradient(90deg, transparent, rgba(244,165,116,0.15), transparent); }

.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.08s; } .reveal-delay-2 { transition-delay: 0.16s; } .reveal-delay-3 { transition-delay: 0.24s; }

.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { padding: 4px 12px; border-radius: 100px; border: 1px solid rgba(255,255,255,0.12); font: 0.74rem var(--font-mono); color: var(--text-dim); letter-spacing: 0.3px; transition: all 0.3s ease; }

/* =========== WORK =========== */
.work-list { display: flex; flex-direction: column; gap: 10px; }
.work-card { position: relative; background: rgba(12,12,14,0.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--border); border-radius: 20px; overflow: hidden; transition: border-color 0.5s var(--ease), opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: calc(var(--i, 0) * 0.04s); }
.work-card::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(244,165,116,0.07), transparent 45%); opacity: 0; transition: opacity 0.5s; pointer-events: none; }
.work-card::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--orange), transparent); opacity: 0; transition: opacity 0.5s; }
.work-card:hover { border-color: rgba(244,165,116,0.22); }
.work-card:hover::before, .work-card.open::after { opacity: 1; }
.work-head { width: 100%; display: grid; grid-template-columns: 48px 1fr auto 28px; align-items: center; gap: 20px; padding: 26px 32px; background: none; border: 0; color: inherit; text-align: left; font: inherit; cursor: pointer; position: relative; z-index: 1; }
.work-index { font: 0.8rem var(--font-mono); color: var(--text-muted); }
.work-main { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; }
.work-client { font: 700 0.74rem var(--font-mono); letter-spacing: 2px; text-transform: uppercase; color: var(--orange); width: 100%; }
.work-name { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.3rem, 2.4vw, 1.9rem); letter-spacing: -0.02em; }
.work-kicker { font-size: 0.85rem; color: var(--text-dim); font-weight: 300; }
.work-period { font: 0.82rem var(--font-mono); color: var(--text-dim); letter-spacing: 1px; white-space: nowrap; }
.work-toggle { width: 28px; height: 28px; border: 1px solid var(--border); border-radius: 50%; position: relative; transition: transform 0.5s var(--ease), border-color 0.4s; }
.work-toggle::before, .work-toggle::after { content: ''; position: absolute; top: 50%; left: 50%; width: 10px; height: 1.5px; background: var(--orange); transform: translate(-50%, -50%); }
.work-toggle::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform 0.5s var(--ease); }
.work-card.open .work-toggle { transform: rotate(180deg); border-color: rgba(244,165,116,0.4); }
.work-card.open .work-toggle::after { transform: translate(-50%, -50%) rotate(0deg); }
.work-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.6s var(--ease); position: relative; z-index: 1; }
.work-card.open .work-body { grid-template-rows: 1fr; }
.work-body-inner { overflow: hidden; padding: 0 32px 0 100px; }
.work-card.open .work-body-inner { padding-bottom: 28px; }
.work-desc { color: var(--text); font-size: 0.98rem; line-height: 1.7; max-width: 860px; margin-bottom: 14px; }
.work-bullets { list-style: none; display: grid; gap: 9px; margin-bottom: 18px; max-width: 900px; }
.work-bullets li { position: relative; padding-left: 22px; color: var(--text-dim); font-size: 0.92rem; line-height: 1.65; font-weight: 400; }
.work-bullets li::before { content: ''; position: absolute; left: 0; top: 0.72em; width: 10px; height: 1px; background: var(--orange); }
.work-other { margin-top: 26px; color: var(--text-dim); font-size: 0.88rem; line-height: 1.7; font-weight: 300; max-width: 900px; }

/* =========== PRODUCTS =========== */
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.product-card { position: relative; background: rgba(12,12,14,0.75); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--border); border-radius: 20px; padding: 28px; overflow: hidden; display: flex; flex-direction: column; gap: 14px; transform-style: preserve-3d; will-change: transform; transition: border-color 0.5s ease, opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.product-card.featured { grid-column: span 1; min-height: 360px; }
.product-card:nth-child(1), .product-card:last-child:nth-child(3n+1) { grid-column: span 2; }
.product-card:hover { border-color: rgba(244,165,116,0.3); }
.product-visual { position: absolute; inset: 0; pointer-events: none; z-index: 0; background-image: linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px); background-size: 46px 46px; }
.product-mesh { position: absolute; top: -20%; right: -10%; width: 260px; height: 260px; border-radius: 50%; filter: blur(70px); opacity: 0.18; background: var(--orange); transition: all 0.8s var(--ease); }
.product-card:nth-child(3n+2) .product-mesh { background: #ff7a8a; }
.product-card:nth-child(3n) .product-mesh { background: #c49bff; }
.product-card:hover .product-mesh { opacity: 0.42; transform: scale(1.4); }
.product-glow { position: absolute; inset: 0; background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(244,165,116,0.1), transparent 40%); opacity: 0; transition: opacity 0.4s; }
.product-card:hover .product-glow { opacity: 1; }
.product-card > *:not(.product-visual):not(.project-corners) { position: relative; z-index: 1; }
.project-corners { position: absolute; inset: 14px; pointer-events: none; opacity: 0; transition: opacity 0.5s ease; z-index: 1; }
.product-card:hover .project-corners { opacity: 1; }
.project-corners::before, .project-corners::after { content: ''; position: absolute; width: 22px; height: 22px; border: solid var(--orange); }
.project-corners::before { top: 0; left: 0; border-width: 1px 0 0 1px; }
.project-corners::after { bottom: 0; right: 0; border-width: 0 1px 1px 0; }
.product-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.status { display: inline-flex; align-items: center; gap: 8px; font: 700 0.68rem var(--font-mono); letter-spacing: 1.2px; text-transform: uppercase; color: var(--text-dim); padding: 6px 12px; border: 1px solid var(--border); border-radius: 100px; background: rgba(5,5,6,0.5); }
.status-store .status-dot { background: var(--blue); box-shadow: 0 0 10px rgba(143,184,255,0.6); }
.status-review .status-dot { background: var(--orange); box-shadow: 0 0 10px var(--orange-glow); }
.status-proto .status-dot { background: var(--text-muted); box-shadow: none; animation: none; }
.product-link { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: 50%; text-decoration: none; color: var(--orange); transition: all 0.4s var(--ease); flex-shrink: 0; }
.product-link:hover { background: var(--orange); color: var(--bg); transform: rotate(45deg); box-shadow: 0 0 24px var(--orange-glow); }
.product-name { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.6rem, 2.6vw, 2.4rem); letter-spacing: -0.03em; line-height: 1; margin-top: 8px; }
.product-card:nth-child(1) .product-name { font-size: clamp(2.2rem, 4vw, 3.6rem); }
.product-tagline { color: var(--text); font-size: 0.95rem; line-height: 1.55; }
.product-points { list-style: none; display: grid; gap: 7px; flex: 1; }
.product-points li { color: var(--text-dim); font-size: 0.88rem; line-height: 1.6; font-weight: 400; padding-left: 18px; position: relative; }
.product-points li::before { content: '→'; position: absolute; left: 0; color: var(--orange); font-size: 0.75rem; }

/* =========== STACK =========== */
.stack-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.stack-group { position: relative; padding: 30px; border: 1px solid var(--border); border-radius: 20px; background: rgba(12,12,14,0.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); overflow: hidden; }
.stack-group::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(244,165,116,0.07), transparent 50%); opacity: 0; transition: opacity 0.5s; pointer-events: none; }
.stack-group:hover::before { opacity: 1; }
.stack-group:first-child { border-color: rgba(244,165,116,0.25); }
.stack-group h3 { font-family: var(--font-display); font-size: 1.25rem; margin-bottom: 18px; }
.stack-group:first-child h3 { color: var(--orange); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.tech-pill { padding: 8px 16px; border-radius: 100px; border: 1px solid var(--border); font-size: 0.82rem; color: var(--text-dim); background: rgba(5,5,6,0.5); transition: all 0.35s var(--ease); opacity: 0; transform: translateY(10px); }
.visible .tech-pill, .langs.visible .tech-pill { opacity: 1; transform: none; transition-delay: calc(var(--j, 0) * 0.035s); }
.tech-pill:hover { border-color: var(--orange); color: var(--text); background: var(--orange-subtle); box-shadow: 0 0 20px rgba(244,165,116,0.12); }

/* =========== EARLIER / EDUCATION =========== */
.two-col { display: grid; grid-template-columns: 1.4fr 1fr; gap: 64px; }
.two-col .section-header { padding-bottom: 32px; }
.two-col .section-title { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.timeline { border-left: 1px solid var(--border); display: grid; gap: 28px; padding-left: 28px; }
.timeline-item { position: relative; display: grid; gap: 6px; }
.timeline-item::before { content: ''; position: absolute; left: -32.5px; top: 6px; width: 8px; height: 8px; border-radius: 50%; background: var(--bg); border: 1.5px solid var(--orange); }
.timeline-period { font: 0.8rem var(--font-mono); color: var(--orange); letter-spacing: 1px; }
.timeline-item h3 { font-family: var(--font-display); font-size: 1.15rem; }
.timeline-item h3 span { font-family: var(--font-body); font-weight: 400; font-size: 0.9rem; color: var(--text-dim); }
.timeline-item p { color: var(--text-dim); font-size: 0.88rem; line-height: 1.65; font-weight: 300; }
.langs { margin-top: 28px; }

/* =========== CONTACT =========== */
.contact { text-align: center; padding-top: 110px; padding-bottom: 120px; display: flex; flex-direction: column; align-items: center; }
.contact-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.6rem, 8vw, 7rem); letter-spacing: -0.04em; line-height: 1; margin-bottom: 40px; }
.contact .section-desc { max-width: 520px; margin-bottom: 36px; }
.contact-email { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.05rem, 3.4vw, 2.4rem); text-decoration: none; padding: 18px 34px; border: 1px solid rgba(244,165,116,0.3); border-radius: 100px; background: rgba(12,12,14,0.6); backdrop-filter: blur(10px); transition: transform 0.3s var(--ease), box-shadow 0.4s, background 0.4s, color 0.4s; word-break: break-all; }
.contact-email:hover { background: var(--orange); color: var(--bg); box-shadow: 0 0 40px var(--orange-glow); }
.contact-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px; margin-top: 30px; font: 0.78rem var(--font-mono); }
.contact-row a { color: var(--text-dim); text-decoration: none; transition: color 0.3s; }
.contact-row a:hover { color: var(--orange); }

footer { position: relative; z-index: 3; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 28px var(--gutter); border-top: 1px solid var(--border); font: 0.76rem var(--font-mono); color: var(--text-muted); letter-spacing: 1px; }

/* =========== RESPONSIVE =========== */
@media (max-width: 1100px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .product-card:last-child { grid-column: span 2; }
  .nav-links { display: none; }
}
@media (max-width: 820px) {
  :root { --gutter: 16px; }
  nav { padding: 14px var(--gutter); }
  .logo img { width: 34px; height: 34px; }
  .hero { padding-top: 110px; }
  .hero-name { font-size: 0.68rem; letter-spacing: 2px; }
  .hero-badge { font-size: 0.6rem; letter-spacing: 1.5px; padding: 8px 16px; }
  .hero-sub { font-size: 0.98rem; }
  .btn-primary, .btn-ghost { padding: 15px 30px; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 18px; padding-top: 80px; }
  .work-head { grid-template-columns: 1fr 28px; padding: 22px 20px; gap: 12px; }
  .work-index { display: none; }
  .work-period { grid-column: 1; grid-row: 2; }
  .work-toggle { grid-column: 2; grid-row: 1; }
  .work-body-inner { padding: 0 20px; }
  .products-grid, .stack-grid, .two-col { grid-template-columns: 1fr; }
  .products-grid > .product-card { grid-column: auto !important; }
  .two-col { gap: 0; }
  .stat-number { font-size: 2.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .scanline, #bg-canvas { display: none; }
  .reveal, .tech-pill { opacity: 1; transform: none; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
}

/* =========== HERO PORTRAIT =========== */
.hero-portrait { position: relative; width: 112px; height: 112px; margin-bottom: 26px; opacity: 0; transform: scale(0.6); }
.hero-portrait.animate { animation: portraitIn 1.1s var(--ease) forwards; }
@keyframes portraitIn { to { opacity: 1; transform: none; } }
.hero-portrait img { position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); border-radius: 50%; object-fit: cover; object-position: 50% 30%; filter: grayscale(0.15) contrast(1.05); }
.portrait-ring { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, var(--orange), transparent 30%, var(--orange-light) 55%, transparent 80%, var(--orange)); animation: ringSpin 6s linear infinite; -webkit-mask: radial-gradient(circle, transparent 53px, #000 54px); mask: radial-gradient(circle, transparent 53px, #000 54px); filter: drop-shadow(0 0 12px var(--orange-glow)); }
@keyframes ringSpin { to { transform: rotate(360deg); } }

/* =========== PRODUCT SCREENSHOTS =========== */
.product-shot { display: block; margin: 4px 0 6px; border-radius: 12px; overflow: hidden; height: 200px; border: 1px solid var(--border); background: var(--bg); position: relative; }
.product-shot::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(5,5,6,0.55)); pointer-events: none; }
.product-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; transform: scale(1.01); transition: transform 1.2s var(--ease), filter 0.6s; filter: saturate(0.9) brightness(0.92); }
.product-card:hover .product-shot img { transform: scale(1.06); filter: none; }
.product-card:nth-child(1) .product-shot { height: 300px; }
.product-card:nth-child(1) .product-shot img { object-position: center 35%; }

/* =========== ABOUT / CELLO =========== */
.about { padding-top: 40px; }
.about-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.about-photo { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 5; border: 1px solid var(--border); box-shadow: 0 40px 120px rgba(0,0,0,0.5), 0 0 80px rgba(244,165,116,0.06); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; display: block; transform: scale(1.12); will-change: transform; }
.about-photo::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 20%, transparent 40%, rgba(5,5,6,0.7)); pointer-events: none; }
.about-photo figcaption { position: absolute; left: 22px; bottom: 20px; z-index: 1; font: 0.74rem var(--font-mono); letter-spacing: 2.5px; text-transform: uppercase; color: var(--orange-light); }
.about-text .section-title { margin-bottom: 26px; }
.about-p { color: var(--text-dim); font-size: 1rem; line-height: 1.85; font-weight: 300; margin-bottom: 16px; max-width: 560px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 30px; }
.fact { padding: 18px; border: 1px solid var(--border); border-radius: 16px; background: rgba(12,12,14,0.6); display: flex; flex-direction: column; gap: 6px; }
.fact-value { font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; color: var(--orange); }
.fact-label { font-size: 0.82rem; color: var(--text-dim); }
@media (max-width: 820px) {
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-photo { aspect-ratio: 4 / 4.4; }
  .facts { grid-template-columns: 1fr 1fr; }
  .hero-portrait { width: 92px; height: 92px; }
  .portrait-ring { -webkit-mask: radial-gradient(circle, transparent 43px, #000 44px); mask: radial-gradient(circle, transparent 43px, #000 44px); }
}

.more-label { margin: 40px 0 14px; font: 700 0.74rem var(--font-mono); letter-spacing: 4px; text-transform: uppercase; color: var(--text-dim); }
.more-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.more-item { padding: 24px 28px; border: 1px solid var(--border); border-radius: 20px; background: rgba(12,12,14,0.75); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.more-item h3 { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; letter-spacing: -0.02em; }
.more-item p { color: var(--text-dim); font-size: 0.88rem; line-height: 1.6; font-weight: 300; }
.about-text { padding: 40px; border: 1px solid var(--border); border-radius: 24px; background: rgba(8,8,10,0.82); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
@media (max-width: 820px) { .more-grid { grid-template-columns: 1fr; } .about-text { padding: 26px 20px; } }

/* =========== EMPLOYERS =========== */
.employer + .employer { margin-top: 72px; }
.employer-head { padding: 26px 30px; border: 1px solid var(--border); border-radius: 20px; background: rgba(8,8,10,0.8); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 6px 24px; margin-bottom: 22px; }
.employer-name { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 4vw, 3.4rem); letter-spacing: -0.03em; line-height: 1; }
.employer-meta { font: 0.84rem var(--font-mono); letter-spacing: 1px; color: var(--orange); }
.employer-meta a { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(244,165,116,0.4); }
.employer-meta a:hover { text-decoration-color: currentColor; }
.work-link { display: inline-block; margin: -4px 0 16px; font: 0.8rem var(--font-mono); letter-spacing: 1px; color: var(--orange); text-decoration: none; border-bottom: 1px solid rgba(244,165,116,0.35); }
.work-link:hover { border-bottom-color: var(--orange); }
.employer-desc { grid-column: 1 / -1; color: var(--text-dim); font-size: 0.95rem; line-height: 1.7; font-weight: 300; max-width: 760px; }
@media (max-width: 820px) { .employer-head { grid-template-columns: minmax(0, 1fr); padding: 22px 20px; } .employer-name { font-size: clamp(1.5rem, 8vw, 2rem); } .employer-meta { font-size: 0.74rem; letter-spacing: 0.5px; } }
.product-card:last-child:nth-child(3n+1) .product-shot { height: 300px; }
@media (max-width: 1100px) { .product-card:last-child .product-shot { height: 300px; } }
@media (max-width: 820px) { .product-card:last-child .product-shot, .product-card:last-child:nth-child(3n+1) .product-shot { height: 200px; } }
.stack-group:last-child:nth-child(odd) { grid-column: 1 / -1; }
