:root {
  --bg: #0b0c10;
  --fg: #e9eef5;
  --muted: rgba(233, 238, 245, 0.72);

  /* Dark glass surfaces */
  --card: rgba(10, 12, 16, 0.78);
  --cardText: rgba(233, 238, 245, 0.94);
  --cardMuted: rgba(233, 238, 245, 0.70);

  --border: rgba(255, 255, 255, 0.14);
  --shadow: 0 24px 80px rgba(0,0,0,0.55);

  --link: rgba(255,255,255,0.92);
  --linkHover: rgba(255,255,255,1);

  --buttonBg: rgba(255,255,255,0.08);
  --buttonBorder: rgba(255,255,255,0.20);
  --buttonText: rgba(255,255,255,0.92);
}


body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("/img/hero.webp");
  background-size: cover;
  /* This controls where his face sits. Adjust Y until eyes are perfect. */
  background-position: center 0%;
  background-repeat: no-repeat;
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  /* Stronger, comfy, never-ending veil */
  background:
    radial-gradient(ellipse at center, rgba(0,0,0,0.12) 0%, rgba(0,0,0,0.72) 70%),
    linear-gradient(to bottom, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.55) 65%, rgba(0,0,0,0.70) 100%);
  z-index: -1;
}

.text-chip {
  display: inline-block;
  padding: 5px 8px;
  border-radius: 8px;
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, "Noto Sans", sans-serif;
  background: var(--bg);
  color: var(--fg);
}

.hero {
  position: relative;
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero__veil {
  display: none;
}

.nav {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding: 18px 26px;
}

.nav__brand {
  font-weight: 800;
  letter-spacing: 0.16em;
  opacity: 0.95;
}

.nav__links { display: flex; gap: 14px; flex-wrap: wrap; }
.nav__link {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(0,0,0,0.20);
  border: 1px solid rgba(255,255,255,0.14);
}
.nav__link:hover { background: rgba(0,0,0,0.32); }
.nav__link--ghost { background: transparent; }

.hero__content {
  position: relative;
  z-index: 2;
  min-height: calc(100vh - 72px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;

  /* This is the knob: move text down/up */
  padding-top: 46vh;
  padding-left: 24px;
  padding-right: 24px;
}


.hero__title {
  margin: 0;
  font-size: clamp(44px, 7vw, 92px);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-shadow: 0 10px 45px rgba(0,0,0,0.6);
}

.hero__subtitle {
  margin: 14px 0 0 0;
  max-width: 920px;
  font-size: clamp(14px, 1.8vw, 18px);
  color: var(--muted);
}

.scrollhint {
  margin-top: 26px;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  text-decoration: none;
  color: rgba(255,255,255,0.95);
  position: relative;
}
.scrollhint__ring {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.45);
  background: rgba(0,0,0,0.20);
  backdrop-filter: blur(6px);
}
.scrollhint__arrow {
  position: relative;
  font-size: 24px;
  transform: translateY(-1px);
}

.main {
  position: relative;
  z-index: 1;
  margin-top: -90px;
  padding: 0 18px 64px;
}

.is-page .main {
  margin-top: 34px;   /* remove the slam */
  padding-top: 0;
}

.updates {
  max-width: 1060px;
  margin: 0 auto;
}

.updates__title {
  margin: 0 0 18px;
  font-size: 14px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.9;
}

.card {
  background: var(--card);
  color: var(--cardText);
  border-radius: 18px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  padding: 42px 46px;
  margin: 22px 0;

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}


.card__meta {
  text-align: center;
  opacity: 0.75;
  font-weight: 650;
  letter-spacing: 0.06em;
}

.card__title {
  margin: 18px 0 18px;
  text-align: center;
  color: var(--cardText);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-size: clamp(28px, 5vw, 64px);
}

.card__title a { color: var(--cardText); text-decoration: none; }
.card__summary { max-width: 860px; margin: 0 auto; font-size: 16px; line-height: 1.6; opacity: 0.95; }
.card__title a:hover { color: var(--linkHover); }
.card__cta { display: grid; place-items: center; margin-top: 26px; }

.button {
  display: inline-block;
  border: 1px solid var(--buttonBorder);
  padding: 12px 18px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--buttonText);
  background: var(--buttonBg);
  font-weight: 800;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  font-size: 12px;
}

.button:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.28);
}

.subhero {
  position: relative;
  min-height: 66vh;
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center;
}
.nav--compact { justify-content: flex-start; }
.subhero__content {
  position: relative;
  z-index: 2;
  padding: 90px 26px 110px;
  max-width: 1060px;
  margin: 0 auto;
  text-align: center;
}
.subhero__date { opacity: 0.8; letter-spacing: 0.12em; text-transform: uppercase; font-size: 12px; }
.subhero__title { margin: 10px 0 0; letter-spacing: 0.08em; text-transform: uppercase; font-size: clamp(34px, 5vw, 60px); }

.article {
  max-width: 860px;
  margin: 0 auto;
  background: rgba(10, 12, 16, 0.82);
  color: rgba(233, 238, 245, 0.92);
  border-radius: 18px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  padding: 40px 46px;

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.article p, .article li { color: rgba(233,238,245,0.86); line-height: 1.7; }
.article h1, .article h2, .article h3 { color: rgba(233,238,245,0.96); }
.article a { color: rgba(255,255,255,0.92); }
.article a:hover { color: rgba(255,255,255,1); text-decoration: underline; }
.article code {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 0.15em 0.35em;
  border-radius: 8px;
}
.article pre {
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 16px;
  overflow: auto;
}

/* Default desktop-ish tuning */
body::before { background-position: center 22%; }
.hero__content { padding-top: 43vh; }

/* Wide / big screens */
@media (min-width: 1400px) {
  body::before { background-position: center 18%; }
  .hero__content { padding-top: 43vh; }
}

/* Tablets */
@media (max-width: 1024px) {
  body::before { background-position: center 26%; }
  .hero__content { padding-top: 26vh; }
}

/* Phones */
@media (max-width: 640px) {
  body::before { background-position: center 32%; }
  .hero__content { padding-top: 20vh; }

  /* Optional: slightly tighter hero text */
  .hero__title { font-size: clamp(34px, 10vw, 52px); }
  .hero__subtitle { font-size: 14px; }
}


.footer {
  padding: 26px 18px 40px;
  color: rgba(255,255,255,0.75);
}
.footer__inner {
  max-width: 1060px;
  margin: 0 auto;
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.footer a { color: rgba(255,255,255,0.85); text-decoration: none; }
.footer__sep { opacity: 0.5; }
