@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Noto+Sans+Devanagari:wght@400;500;600&display=swap");
.grid-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  padding-inline: 80px;
  background-image: repeating-linear-gradient(to bottom, rgba(255, 0, 0, 0.35) 0, rgba(255, 0, 0, 0.35) 1px, transparent 1px, transparent 24px);
}

.grid-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(to right, rgba(255, 0, 0, 0.35) 0, rgba(255, 0, 0, 0.35) 1px, transparent 1px, transparent calc((100% - 80px * 2 - 24px * 11) / 12));
  pointer-events: none;
}

body.grid-active .grid-overlay {
  display: block;
}

@media (max-width: 1023px) {
  .grid-overlay {
    padding-inline: 40px;
  }
  .grid-overlay::before {
    background-image: repeating-linear-gradient(to right, rgba(255, 0, 0, 0.35) 0, rgba(255, 0, 0, 0.35) 1px, transparent 1px, transparent calc((100% - 40px * 2 - 20px * 7) / 8));
  }
}
@media (max-width: 767px) {
  .grid-overlay {
    padding-inline: 20px;
  }
  .grid-overlay::before {
    background-image: repeating-linear-gradient(to right, rgba(255, 0, 0, 0.35) 0, rgba(255, 0, 0, 0.35) 1px, transparent 1px, transparent calc((100% - 20px * 2 - 16px * 3) / 4));
  }
}
.grid-overlay {
  display: none;
}

body.grid-active .grid-overlay {
  display: block;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.navbar {
  width: calc(100% - 80px);
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: "DM Sans", sans-serif;
}

.navbar-logo {
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: #fff;
  text-decoration: none;
}

.logo-mark {
  width: 32px;
  height: 32px;
}

.logo-text {
  display: flex;
  align-items: baseline;
  font-size: 18px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.logo-name-a {
  position: relative;
  display: inline-grid;
  width: 0.58em;
  line-height: 1;
  vertical-align: baseline;
}

.logo-a-latin,
.logo-a-devanagari {
  grid-area: 1/1;
  display: block;
  line-height: 1;
}

.logo-a-devanagari {
  opacity: 0;
}

.logo-name-rest {
  display: inline-block;
  line-height: 1;
}

.logo-glitch {
  animation: logo-jhir-jhir 0.42s steps(2, end);
}

@keyframes logo-jhir-jhir {
  0% {
    transform: translate(0);
    filter: none;
  }
  15% {
    transform: translate(-2px, 1px);
    filter: drop-shadow(2px 0 rgba(255, 0, 0, 0.8)) drop-shadow(-2px 0 rgba(0, 180, 255, 0.8));
  }
  30% {
    transform: translate(2px, -1px);
    filter: drop-shadow(-2px 0 rgba(255, 0, 0, 0.8)) drop-shadow(2px 0 rgba(0, 180, 255, 0.8));
  }
  45% {
    transform: translate(-1px, 0);
    filter: drop-shadow(3px 0 rgba(255, 0, 0, 0.7)) drop-shadow(-3px 0 rgba(0, 180, 255, 0.7));
  }
  60% {
    transform: translate(2px, 1px);
    filter: none;
  }
  75% {
    transform: translate(-1px, -1px);
    filter: drop-shadow(-2px 0 rgba(255, 0, 0, 0.7)) drop-shadow(2px 0 rgba(0, 180, 255, 0.7));
  }
  100% {
    transform: translate(0);
    filter: none;
  }
}
.navbar-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.navbar-links a {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.3s ease;
}

.navbar-links a:hover {
  opacity: 0.5;
}

.mobile-menu,
.menu-toggle {
  display: none;
}

@media (max-width: 1023px) {
  .navbar {
    width: calc(100% - 80px);
    padding: 24px 0;
  }
}
@media (max-width: 767px) {
  .navbar {
    width: calc(100% - 40px);
    padding: 20px 0;
  }
  .navbar-links {
    display: none;
  }
  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    gap: 6px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
  }
  .menu-toggle span {
    display: block;
    width: 24px;
    height: 1px;
    background: #fff;
  }
  .logo-text {
    font-size: 17px;
  }
  .logo-name-a {
    width: 0.58em;
  }
}
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background: #000;
  color: #fff;
  overflow: hidden;
  font-family: "DM Sans", sans-serif;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(to right, transparent 24.9%, rgba(255, 255, 255, 0.18) 25%, transparent 25.1%), linear-gradient(to right, transparent 49.9%, rgba(255, 255, 255, 0.18) 50%, transparent 50.1%), linear-gradient(to right, transparent 74.9%, rgba(255, 255, 255, 0.18) 75%, transparent 75.1%), linear-gradient(to right, transparent 99.9%, rgba(255, 255, 255, 0.18) 100%, transparent 100.1%);
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 80px;
  transform: translateY(-50%);
  max-width: 900px;
  z-index: 2;
}

.hero-title {
  margin: 0;
  font-size: clamp(32px, 4vw, 64px);
  line-height: 0.95;
  font-weight: 500;
  letter-spacing: -0.06em;
  white-space: nowrap;
}

.hero-ending {
  display: inline;
}

.hero-ending-text {
  display: inline-block;
}

.hero-subtitle {
  max-width: 520px;
  margin: 28px 0 0;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 400;
  letter-spacing: -0.02em;
  opacity: 0.65;
}

.hero-grid-text {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  z-index: 2;
  pointer-events: none;
}

.hero-grid-item {
  position: relative;
  height: 100%;
}

.hero-grid-vertical {
  position: absolute;
  opacity: 0.5;
  transition: opacity 0.4s ease;
  top: 140px;
  right: -10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transform: rotate(-90deg);
  transform-origin: right top;
  white-space: nowrap;
}

.hero-grid-item.is-active .hero-grid-vertical {
  opacity: 1;
}

.hero-grid-item:nth-child(1) .hero-grid-vertical {
  top: 22%;
}

.hero-grid-item:nth-child(2) .hero-grid-vertical {
  top: 72%;
}

.hero-grid-item:nth-child(3) .hero-grid-vertical {
  top: 11%;
}

.hero-grid-item:nth-child(4) .hero-grid-vertical {
  top: 70%;
  right: 70px;
}

.hero-grid-sanskrit {
  font-family: "Noto Sans Devanagari", sans-serif;
  font-size: 34px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.hero-grid-item:nth-child(2) .hero-grid-sanskrit {
  font-size: 48px;
}

.hero-grid-meaning {
  font-size: 10px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.5;
}

.hero-image {
  position: absolute;
  right: 0;
  bottom: -40px;
  width: min(32vw, 500px);
  height: auto;
  z-index: 3;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, transparent 8%, rgba(0, 0, 0, 0.15) 14%, #000 28%, #000 82%, rgba(0, 0, 0, 0.8) 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, transparent 8%, rgba(0, 0, 0, 0.15) 14%, #000 28%, #000 82%, rgba(0, 0, 0, 0.8) 92%, transparent 100%);
}

.hero-philosophy {
  position: absolute;
  left: 80px;
  bottom: 40px;
  z-index: 2;
}

.hero-philosophy p {
  margin: 0;
}

.hero-philosophy-translation {
  margin-bottom: 7px !important;
  font-size: 11px;
  line-height: 1.3;
  letter-spacing: 0.04em;
  opacity: 0.55;
}

.hero-philosophy-sanskrit {
  font-family: "Noto Sans Devanagari", sans-serif;
  font-size: 21px;
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.hero-name-a {
  position: relative;
  display: inline-grid;
  width: 0.58em;
  vertical-align: baseline;
  line-height: 1;
}

.hero-a-latin,
.hero-a-devanagari {
  grid-area: 1/1;
  display: block;
  line-height: 1;
}

.hero-a-devanagari {
  font-family: "Noto Sans Devanagari", sans-serif;
  opacity: 0;
}

.hero-name-a.logo-glitch {
  animation: hero-jhir-jhir 0.45s steps(2, end);
}

@keyframes hero-jhir-jhir {
  0% {
    transform: translate(0);
    filter: none;
  }
  12% {
    transform: translate(-4px, 1px);
    filter: drop-shadow(4px 0 rgba(255, 0, 0, 0.9)) drop-shadow(-4px 0 rgba(0, 180, 255, 0.9));
  }
  25% {
    transform: translate(3px, -2px);
    filter: drop-shadow(-3px 0 rgba(255, 0, 0, 0.8)) drop-shadow(3px 0 rgba(0, 180, 255, 0.8));
  }
  40% {
    transform: translate(-2px, 2px);
    filter: drop-shadow(5px 0 rgba(255, 0, 0, 0.7)) drop-shadow(-5px 0 rgba(0, 180, 255, 0.7));
  }
  55% {
    transform: translate(3px, 0);
    filter: drop-shadow(-3px 0 rgba(255, 0, 0, 0.8)) drop-shadow(3px 0 rgba(0, 180, 255, 0.8));
  }
  70% {
    transform: translate(-1px, -1px);
    filter: drop-shadow(2px 0 rgba(255, 0, 0, 0.6)) drop-shadow(-2px 0 rgba(0, 180, 255, 0.6));
  }
  100% {
    transform: translate(0);
    filter: none;
  }
}
.hero-ending-text.role-glitch {
  animation: role-jhir-jhir 0.45s steps(2, end);
}

@keyframes role-jhir-jhir {
  0% {
    transform: translate(0);
    opacity: 1;
  }
  15% {
    transform: translate(-5px, 1px);
    opacity: 0.7;
  }
  30% {
    transform: translate(4px, -1px);
    opacity: 0.4;
  }
  45% {
    transform: translate(-3px, 2px);
    opacity: 0.8;
  }
  60% {
    transform: translate(3px, 0);
    opacity: 0.5;
  }
  75% {
    transform: translate(-2px, -1px);
    opacity: 0.8;
  }
  100% {
    transform: translate(0);
    opacity: 1;
  }
}
@media (max-width: 767px) {
  .hero {
    min-height: 100svh;
  }
  .hero-content {
    position: absolute;
    top: auto;
    left: 20px;
    right: 20px;
    bottom: 145px;
    transform: none;
    max-width: none;
    z-index: 4;
  }
  .hero-title {
    font-size: clamp(26px, 7vw, 42px);
    line-height: 0.92;
    letter-spacing: -0.06em;
    max-width: none;
    white-space: nowrap;
  }
  .hero-subtitle {
    max-width: 360px;
    margin-top: 20px;
    font-size: 15px;
    line-height: 1.4;
    opacity: 0.65;
  }
  .hero-image {
    position: absolute;
    top: 70px;
    right: -5vw;
    bottom: auto;
    width: 85vw;
    max-width: none;
    height: auto;
    z-index: 3;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 60%, transparent 100%);
  }
  .hero-grid-text {
    grid-template-columns: repeat(4, 1fr);
    z-index: 2;
  }
  .hero-grid-item:nth-child(1) .hero-grid-vertical {
    top: 10%;
  }
  .hero-grid-item:nth-child(2) .hero-grid-vertical {
    top: 34%;
  }
  .hero-grid-item:nth-child(3) .hero-grid-vertical {
    top: 57%;
  }
  .hero-grid-item:nth-child(4) .hero-grid-vertical {
    top: 76%;
  }
  .hero-grid-vertical {
    right: -8px;
    gap: 8px;
  }
  .hero-grid-sanskrit {
    font-size: 22px;
  }
  .hero-grid-item:nth-child(2) .hero-grid-sanskrit {
    font-size: 32px;
  }
  .hero-grid-meaning {
    font-size: 8px;
    letter-spacing: 0.06em;
  }
  .hero-philosophy {
    left: 20px;
    right: 20px;
    bottom: 30px;
    z-index: 4;
  }
  .hero-philosophy-sanskrit {
    font-size: 18px;
  }
}

/*# sourceMappingURL=style.css.map */
