/* saieshwar.com */

@font-face {
  font-family: "Schibsted Grotesk";
  src: url("fonts/SchibstedGrotesk-Latin.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --deep-space: #040A1C;
  --surface: #0B1430;
  --fg: #EEF2FF;
  --body: #D5DBEE;
  --accent: #5EA2FF;
  --font: "Schibsted Grotesk", -apple-system, "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--deep-space);
  color: var(--body);
  font-family: var(--font);
  font-size: 19px;
  font-weight: 400;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
p { margin: 0 0 12px; }

.wrap { max-width: 880px; margin: 0 auto; padding: 0 24px; }

/* Hero: the Blue Hour ground, the one light on the page */
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero-glow {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(90% 60% at 50% 118%, rgba(94,162,255,.50) 0%, rgba(21,82,224,.45) 28%, rgba(10,31,82,0) 62%),
    radial-gradient(120% 90% at 50% 100%, #0F3FB0 0%, #0A1F52 45%, #040A1C 85%);
  animation: dawn 1.2s var(--ease) both;
}
.hero::after {
  /* the line of light: Earth's edge at blue hour */
  content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: min(1100px, 92vw); height: 1px; z-index: -1;
  background: linear-gradient(90deg, rgba(169,203,255,0), rgba(169,203,255,.85) 50%, rgba(169,203,255,0));
}

.hero-inner {
  max-width: 880px; margin: 0 auto; padding: 72px 24px 104px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  animation: rise 700ms var(--ease) .1s both;
}
.portrait {
  width: 160px; height: 160px; border-radius: 50%; object-fit: cover; display: block;
  margin-bottom: 30px;
  box-shadow: 0 0 0 1px rgba(169,203,255,.35), 0 0 0 6px rgba(4,10,28,.55), 0 18px 50px rgba(0,0,0,.45);
}
.eyebrow {
  margin: 0 0 14px; color: #BAC5E2;
  font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
}
h1 {
  margin: 0 0 20px; color: var(--fg);
  font-size: clamp(44px, 7vw, 76px); font-weight: 450; line-height: 1.06; letter-spacing: -0.015em;
}
.lede {
  margin: 0 0 14px; max-width: 34ch; text-wrap: balance; color: var(--body);
  font-size: clamp(19px, 2.2vw, 22px); line-height: 1.55;
}
.now { margin: 0 0 32px; max-width: 52ch; text-wrap: balance; color: #A0ADCB; font-size: 16px; line-height: 1.5; }

/* Profiles: LinkedIn and X as two calm, equal logo buttons */
.links { list-style: none; margin: 0 0 10px; padding: 0; display: flex; justify-content: center; gap: 14px; }
.icon-link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid rgba(169,203,255,.30);
  background: rgba(11,20,48,.55); color: var(--fg);
  transition: border-color 180ms var(--ease), background 180ms var(--ease), transform 180ms var(--ease);
}
.icon-link:hover { border-color: rgba(169,203,255,.65); background: rgba(18,32,74,.75); transform: translateY(-2px); }
.icon-link:focus-visible { border-radius: 50%; }

/* Email: third in importance, so a quiet text line */
.mail-line { margin: 0; }
.mail-line a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px;
  color: #DCE4F7; font-size: 17px; font-weight: 480; text-decoration: underline; text-underline-offset: 5px; letter-spacing: .01em;
  transition: color 180ms var(--ease);
}
.mail-line a:hover { color: #fff; }

.page { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
.hero.full { flex: 1 0 auto; display: flex; flex-direction: column; }
.hero.full .hero-inner { flex: 1; justify-content: center; padding-bottom: max(18vh, 96px); padding-top: 12vh; }
footer.quiet { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 0 20px 22px; text-align: center; font-size: 13px; color: #C3CDE8; }
footer.quiet p { margin: 0; text-wrap: balance; }
.notfound { padding-top: 104px; }

@keyframes rise { from { transform: translateY(10px); } to { transform: none; } }
@keyframes dawn { from { opacity: 0; transform: scale(1.04); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

@media (max-width: 720px) {
  .hero-inner { padding: 48px 20px 72px; }
  .wrap { padding: 0 20px; }
}
