
:root {
  --header-h: 70px;
  --footer-h: 56px;
  --transition-speed: 320ms;
  --easing: cubic-bezier(.22,.61,.36,1);

  --footer-h: 56px;
  --bg:#0a0a0a;
  --surface:#111111;
  --text:#ffffff;
  --text-sec:#aaaaaa;
  --accent:#EB4E27;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0;background:var(--bg);color:var(--text);
  font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-weight:300;line-height:1.6}
a{color:var(--text);text-decoration:none}
.container{width:100%;max-width:1100px;margin:0 auto;padding:0 20px}
.header{position:sticky;top:0;background:rgba(10,10,10,.9);backdrop-filter:blur(6px);border-bottom:1px solid #222;z-index:10000}
.nav{display:flex;align-items:center;justify-content:space-between;height:var(--header-h)}
.nav-links a{text-transform:uppercase;font-size:14px;letter-spacing:.08em;position:relative;padding:12px 14px}
.nav-links a::after{content:"";position:absolute;bottom:-4px;left:0;right:0;height:2px;background:var(--accent);opacity:0;transition:.2s}
.nav-links a:hover::after,.nav-links a.active::after{opacity:1}
.hero{display:flex;align-items:center;justify-content:center;text-align:center;margin:0}
.hero img{height:70px;margin-bottom:20px}
.hero .slogan{font-size:clamp(22px,4vw,40px);letter-spacing:.2em;margin-top:10px;font-weight:300;color:var(--text-sec)}
.socials{position:fixed;left:20px;bottom:calc(20px + var(--footer-h));display:flex;flex-direction:column;gap:14px}

.section{padding:80px 20px;text-align:center}
.section h1,.section h2{text-transform:uppercase;letter-spacing:.12em;margin-bottom:20px}
.profile-pic{max-width:280px;border-radius:12px;margin:20px auto;display:block}
.three-cols{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:40px;margin-top:50px}
.footer{text-align:center;min-height:var(--footer-h);padding:12px 20px;font-size:13px;color:var(--text-sec);border-top:1px solid #222}


/* Page layout for sticky footer */
.page{min-height:100vh;display:flex;flex-direction:column}
main{flex:1}

/* Home: lock viewport, no scrolling */
body.home{height:100vh;overflow:hidden}
/* Make hero take remaining space between header and footer */
.hero{display:flex;align-items:center;justify-content:center;text-align:center;margin:0}

.socials svg {
  width: 22px;
  height: 22px;
  fill: var(--text-sec);
  transition: fill .2s;
}
.socials a:hover svg {
  fill: var(--accent);
}
.socials a {display:inline-flex;align-items:center;justify-content:center}


/* Mobile navigation */
.menu-btn{display:none;position:relative;width:42px;height:42px;background:transparent;border:1px solid #333;color:#fff;border-radius:4px;z-index:10002}
.menu-icon{width:22px;height:22px;display:inline-block}
@media (max-width: 900px){
  .menu-btn{display:none;position:relative;width:42px;height:42px;background:transparent;border:1px solid #333;color:#fff;border-radius:4px;z-index:10002}
  .nav-links{display:flex;gap:28px}
  .nav-links.open{display:flex}
}

.hero .stack{display:flex;flex-direction:column;align-items:center;gap:14px}
.hero .stack img{height:70px;width:auto;display:block}

.menu-btn span{position:absolute;left:9px;right:9px;height:2px;background:#fff;transition:transform .2s, opacity .2s, top .2s}
.menu-btn span:nth-child(1){top:12px}
.menu-btn span:nth-child(2){top:20px}
.menu-btn span:nth-child(3){top:28px}
.menu-btn.open span:nth-child(1){top:20px;transform:rotate(45deg)}
.menu-btn.open span:nth-child(2){opacity:0}
.menu-btn.open span:nth-child(3){top:20px;transform:rotate(-45deg)}


  .nav-links{display:flex;gap:28px}
  .nav-links.open{display:flex}
}

/* Accessible focus styles */
:where(a, button, input, textarea, .btn):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
/* Subtle hover lift for buttons (not on home due to no scroll) */
.btn { transition: transform .15s var(--easing), background .2s, border-color .2s; }
.btn:hover { transform: translateY(-1px); }
/* Nav underline smoothness */
.nav-links a::after { transition: transform var(--transition-speed) var(--easing), opacity .2s; transform: scaleX(0); transform-origin: left; }
.nav-links a:hover::after, .nav-links a.active::after { opacity:1; transform: scaleX(1); }

/* Page transitions */
.page-transition {
  position: fixed;
  inset: 0;
  background: radial-gradient(1200px 600px at 10% -10%, rgba(235,78,39,0.15), transparent 60%), rgba(10,10,10,0.98);
  pointer-events: none;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity var(--transition-speed) var(--easing), transform var(--transition-speed) var(--easing);
  z-index: 9999;
}
body.transition-out .page-transition { opacity: 1; transform: scale(1); pointer-events:auto; }
/* Content reveal */
main { opacity: 0; transform: translateY(8px); transition: opacity var(--transition-speed) var(--easing), transform var(--transition-speed) var(--easing); }
body.ready main { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) { * { transition:none !important; animation:none !important; } .wipe, .spotlight { display:none } main{flex:1} }
  .page-transition { display:none; }
  main { opacity: 1 !important; transform:none !important; }
}


/* === Cinematic page cover (no clipping) === */
.wipe {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  transform-origin: left center;
  transform: scaleX(0);
  background: linear-gradient(100deg, rgba(235,78,39,.18), rgba(235,78,39,.06) 22%, rgba(10,10,10,.98) 40%), #0a0a0a;
  transition: transform 420ms cubic-bezier(.22,.61,.36,1);
  overflow:hidden;
}
.wipe::after{
  content:"";
  position:absolute; inset:-20% -30%;
  background: radial-gradient(40% 60% at 20% 10%, rgba(255,255,255,.06), transparent 60%);
  transform: translateX(-20%);
  animation: sweep 900ms cubic-bezier(.22,.61,.36,1) forwards;
}
@keyframes sweep { to { transform: translateX(40%); } }
body.wiping-in .wipe { transform: scaleX(1); }
body.wiping-out .wipe { transform: scaleX(0); transition-duration: 320ms; }

/* Spotlight (very subtle, desktop only) */
:root {
  --header-h: 70px;
  --footer-h: 56px; --spot-x: 50%; --spot-y: 50%; --spot-opacity:.0; }
.spotlight {
  position: fixed; inset: 0; pointer-events: none; z-index: 1;
  background: radial-gradient(420px 260px at var(--spot-x) var(--spot-y),
    rgba(255,255,255,.04), transparent 60%);
  opacity: var(--spot-opacity);
  transition: opacity 160ms ease;
} following cursor (desktop) */
:root {
  --header-h: 70px;
  --footer-h: 56px; --spot-x: 50%; --spot-y: 50%; --spot-opacity:.0; }
.spotlight {
  position: fixed; inset: 0; pointer-events: none; z-index: 1;
  background: radial-gradient(420px 260px at var(--spot-x) var(--spot-y),
    rgba(255,255,255,.06), transparent 60%);
  opacity: var(--spot-opacity);
  transition: opacity 200ms ease;
}

/* Custom cursor ring (desktop) */


/* Magnetic hover */
.magnetic { position: relative; }
.magnetic:hover { will-change: transform; }

/* Disable on touch */
@media (pointer: coarse) {
  
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) { * { transition:none !important; animation:none !important; } .wipe, .spotlight { display:none } main{flex:1} }

/* Slogan intro */
@keyframes sloganIntro { from { letter-spacing:.4em; opacity:.0; transform: translateY(6px); } to { letter-spacing:.2em; opacity:1; transform: translateY(0);} }
.home .slogan { animation: sloganIntro 520ms var(--easing) both 120ms; }

/* True viewport centering for Home */
body.home .page{min-height:100vh}
body.home main{
  min-height: calc(100vh - var(--header-h) - var(--footer-h));
  display:flex; align-items:center; justify-content:center;
}


  .nav-links{display:flex;gap:28px}
  .nav-links.open{display:flex}
}

.brand img{height:34px !important;width:auto !important;max-height:40px !important;max-width:100% !important;display:block}



  .nav-links{display:flex;gap:28px}
  .nav-links.open{display:flex !important}
}

@media(max-width:900px){
  .menu-btn{display:none;position:relative;width:42px;height:42px;background:transparent;border:1px solid #333;color:#fff;border-radius:4px;z-index:10002}
  .nav-links{
    position:fixed;top:var(--header-h);left:0;right:0;display:none !important;
    flex-direction:column;gap:12px;background:rgba(10,10,10,.97);padding:16px 20px;
    border-bottom:1px solid #222;z-index:10001;pointer-events:auto
  }
  .nav-links.open{display:flex !important}
}
