/* saieshwar.com */

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

:root {
  --deep-space: #040A1C;
  --surface: #0B1430;
  --line: #1A2548;
  --fg: #EEF2FF;
  --body: #D5DBEE;
  --muted: #8C9BBE;
  --accent: #5EA2FF;
  --blue: #1552E0;
  --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: 2px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--surface); color: var(--fg); padding: 8px 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.6s 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));
}
.top {
  max-width: 1200px; margin: 0 auto; padding: 20px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-size: 15.5px; font-weight: 480;
}
.name-mark { color: var(--fg); text-decoration: none; font-weight: 560; letter-spacing: -0.01em; min-height: 44px; display: flex; align-items: center; }
.top-link { color: var(--muted); text-decoration: none; min-height: 44px; display: flex; align-items: center; transition: color 180ms var(--ease); }
.top-link:hover { color: var(--fg); }

.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 36px; max-width: 52ch; text-wrap: balance; color: #A0ADCB; font-size: 16px; line-height: 1.5; }

.links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; gap: 9px; min-height: 46px; padding: 0 20px;
  border-radius: 12px; border: 1px solid rgba(169,203,255,.22);
  background: rgba(11,20,48,.55); color: var(--fg);
  font-size: 16px; font-weight: 480; text-decoration: none;
  transition: border-color 180ms var(--ease), background 180ms var(--ease), transform 180ms var(--ease);
}
.btn:hover { border-color: rgba(169,203,255,.5); background: rgba(18,32,74,.7); transform: translateY(-1px); }
.btn.primary { background: var(--blue); border-color: var(--blue); color: #fff; font-weight: 560; }
.btn.primary:hover { background: #2a63ea; border-color: #2a63ea; }
.btn svg { flex: none; opacity: .9; }

/* Sections */
.band { padding: 72px 0; border-top: 1px solid var(--line); }
.band:first-child { border-top: 0; }
.label {
  margin: 0 0 32px; color: var(--muted);
  font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
}
h3 { margin: 0; color: var(--fg); font-size: 22px; font-weight: 560; line-height: 1.2; letter-spacing: -0.02em; }
p { margin: 0 0 12px; }

.stats { margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.stats div {
  display: flex; flex-direction: column-reverse; justify-content: flex-end;
  padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface);
}
.stats dd {
  margin: 0 0 10px; color: var(--fg);
  font-size: clamp(40px, 5vw, 56px); font-weight: 400; line-height: 1; letter-spacing: -0.02em;
}
.stats dt { color: var(--muted); font-size: 15.5px; line-height: 1.5; }

.rows { display: grid; }
.row {
  display: grid; grid-template-columns: 152px 1fr; gap: 24px;
  padding: 24px 0; border-top: 1px solid var(--line);
}
.row:first-child { border-top: 0; padding-top: 0; }
.row p:last-child { margin-bottom: 0; }
.when { margin: 4px 0 0; color: var(--muted); font-size: 14px; font-weight: 480; font-variant-numeric: tabular-nums; }
.where { margin: 4px 0 12px; color: var(--muted); font-size: 15.5px; }
.row > p:not(.when) { color: var(--fg); }

.contact-line { color: var(--body); }
.mail {
  color: var(--fg); text-decoration: none;
  font-size: clamp(28px, 4.4vw, 44px); font-weight: 400; letter-spacing: -0.015em;
  border-bottom: 1px solid rgba(94,162,255,.5); transition: border-color 180ms var(--ease);
}
.mail:hover { border-color: var(--accent); }

footer { border-top: 1px solid var(--line); padding: 32px 0 48px; color: var(--muted); font-size: 14px; }
footer a { color: var(--muted); }

.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); }
.hero.full .hero-inner { padding-top: 12vh; }
footer.quiet { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; border-top: 0; padding: 0 20px 22px; text-align: center; font-size: 13px; color: #C3CDE8; }
footer.quiet p { margin: 0; text-wrap: balance; }
footer.quiet a { white-space: nowrap; }
.notfound { padding-top: 104px; }

@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; 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) {
  .stats { grid-template-columns: 1fr; gap: 12px; }
  .row { grid-template-columns: 1fr; gap: 4px; }
  .hero-inner { padding: 48px 20px 72px; }
  .band { padding: 56px 0; }
  .wrap { padding: 0 20px; }
  .top-link { display: none; }
  .links { gap: 8px; }
  .btn { padding: 0 15px; gap: 7px; }
}
