/* A quiet story introduction; the only moving part is its short departure. */
.k-gate { display: none; }
.k-gate[open] {
  position: fixed; inset: 0; width: 100%; height: 100%; height: 100svh;
  max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  display: block; overflow-y: auto; overscroll-behavior: contain;
  background: #080808; color: #f2f2f2; text-align: left;
  cursor: auto !important; opacity: 1; transition: opacity .24s ease;
}
.k-gate::backdrop { background: transparent; backdrop-filter: none; }
html.k-gate-on body { overflow: hidden; }
html.k-gate-on .hero-title, html.k-gate-on .hero-bottom, html.k-gate-on .site-header { visibility: hidden; }
.k-gate[open].is-leaving { opacity: 0; pointer-events: none; }
.k-gate .k-gate-inner {
  width: min(100%, 1200px); min-height: 100%; margin: auto;
  padding: clamp(24px, 5vw, 72px); display: grid;
  grid-template-rows: auto 1fr auto; gap: clamp(32px, 6vh, 64px);
}
.k-gate-brand { display: flex; align-items: baseline; gap: 20px; }
.k-gate .k-gate-mark { font: 400 32px/1 var(--serif); letter-spacing: -.025em; }
.k-gate .k-gate-sub { font: 400 12px/1.5 Arial, sans-serif; color: #aaa; letter-spacing: .01em; }
.k-gate-intro { align-self: center; }
.k-gate .k-gate-year { margin: 0 0 24px; font: 400 12px/1.5 var(--mono); color: #aaa; letter-spacing: .12em; }
.k-gate .k-gate-intro h2 {
  max-width: 14ch; margin: 0; font: 400 clamp(48px, 7.5vw, 96px)/1.02 var(--serif);
  color: #f2f2f2; letter-spacing: -.035em; text-transform: none; text-wrap: balance;
}
.k-gate #k-gate-premise { margin: 24px 0 0; font: 400 16px/1.65 Arial, sans-serif; color: #b8b8b8; letter-spacing: 0; }
.k-gate-actions { display: flex; align-items: center; gap: 28px; }
.k-gate .k-gate-enter, .k-gate .k-gate-silent {
  min-height: 52px; margin: 0; padding: 14px 24px; border: 1px solid transparent; border-radius: 4px;
  font: 500 14px/1.4 Arial, sans-serif; letter-spacing: 0; text-transform: none; cursor: pointer;
}
.k-gate .k-gate-enter { background: #f2f2f2; color: #080808; }
.k-gate .k-gate-enter:hover { background: #d9d9d9; }
.k-gate .k-gate-silent { padding-inline: 0; background: transparent; color: #b8b8b8; }
.k-gate .k-gate-silent:hover { color: #fff; }
.k-gate button:focus-visible { outline: 2px solid #829aff; outline-offset: 5px; }
html[lang="hi"] .k-gate .k-gate-intro h2 { max-width: 16ch; font-family: 'Noto Sans Devanagari', sans-serif; font-size: clamp(38px, 5.5vw, 72px); line-height: 1.3; letter-spacing: 0; font-weight: 500; }
html[lang="hi"] .k-gate #k-gate-premise, html[lang="hi"] .k-gate .k-gate-sub, html[lang="hi"] .k-gate button { font-family: 'Noto Sans Devanagari', Arial, sans-serif; }
@media (max-width: 600px) {
  .k-gate .k-gate-inner { gap: 32px; }
  .k-gate-brand { gap: 16px; }
  .k-gate .k-gate-intro h2 { font-size: clamp(44px, 12vw, 68px); }
  .k-gate-actions { flex-direction: column; align-items: stretch; gap: 4px; }
  .k-gate .k-gate-silent { text-align: center; }
}
@media (max-height: 620px) {
  .k-gate .k-gate-inner { padding-block: 20px; gap: 20px; }
  .k-gate .k-gate-year { margin-bottom: 12px; }
  .k-gate .k-gate-intro h2 { font-size: clamp(38px, 6vw, 56px); }
  html[lang="hi"] .k-gate .k-gate-intro h2 { font-size: 36px; }
  .k-gate #k-gate-premise { margin-top: 16px; }
}
