/* ManoDrashta holding page.
   Brand palette taken from the logo. Teal is the logo's #198897 darkened ~8%:
   visually near-identical, but clears the 4.5:1 WCAG AA floor against the page
   background, which the original does not. Lime is far too light for text at
   any size, so it is only ever used as a fill — --lime-ink is its text twin. */
:root {
  --navy: #0b2b54;
  --teal: #177e8c;
  --lime: #7ac943;
  --lime-ink: #4d7f2a;
  --leaf: #396e3d;
  --purple: #7a3997;

  --bg: #f8fafc;
  --surface: #ffffff;
  --border: #e2e8f0;
  --text: #333333;
  --text-muted: #475569;
  --text-subtle: #64748b;

  --font: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

/* isolate + overflow keep the blurred washes from spilling into a horizontal
   scrollbar on narrow screens. */
.page {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 100vh;
  min-height: 100svh;
  flex-direction: column;
  overflow: hidden;
}

.washes {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.wash {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.wash--teal {
  top: -10rem;
  left: 50%;
  width: 34rem;
  height: 34rem;
  transform: translateX(-50%);
  background: rgb(23 126 140 / 0.12);
}

.wash--lime {
  top: 30%;
  left: -8rem;
  width: 24rem;
  height: 24rem;
  background: rgb(122 201 67 / 0.16);
}

.wash--purple {
  right: -8rem;
  bottom: 0;
  width: 24rem;
  height: 24rem;
  background: rgb(122 57 151 / 0.1);
}

.content {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 48rem;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  text-align: center;
}

/* The vh term keeps the whole page on one screen on short laptop viewports,
   where the logo is by far the tallest block. */
.logo {
  width: min(72vw, 28vh, 20rem);
  height: auto;
  filter: drop-shadow(0 1px 2px rgb(11 43 84 / 0.08));
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  margin: 2rem 0 0;
  padding: 0.4rem 1rem;
  border: 1px solid rgb(23 126 140 / 0.25);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.7);
  backdrop-filter: blur(4px);
  color: var(--teal);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.dot {
  position: relative;
  display: flex;
  width: 0.5rem;
  height: 0.5rem;
}

.dot__ring,
.dot__core {
  position: absolute;
  inset: 0;
  border-radius: 50%;
}

.dot__ring {
  background: var(--lime);
  opacity: 0.7;
  animation: pulse-ring 2s ease-out infinite;
}

.dot__core {
  background: var(--lime-ink);
}

h1 {
  margin: 1.5rem 0 0;
  color: var(--navy);
  font-size: clamp(2.25rem, 6vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.tagline {
  margin: 1rem 0 0;
  color: var(--leaf);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.lede {
  max-width: 36rem;
  margin: 1.5rem 0 0;
  color: var(--text-muted);
  font-size: 1.0625rem;
  line-height: 1.75;
}

.contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 2.25rem;
}

.contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 0.75rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  box-shadow: 0 1px 2px rgb(11 43 84 / 0.05);
  color: var(--navy);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 150ms, color 150ms, box-shadow 150ms;
}

.contact:hover {
  border-color: rgb(23 126 140 / 0.4);
  box-shadow: 0 4px 12px rgb(11 43 84 / 0.08);
  color: var(--teal);
}

.contact svg {
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
  fill: none;
  stroke: var(--teal);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Below this the three pills wrap to three ragged lines, so stack them full
   width instead and let the email address set the block. Stacking costs a lot
   of height, so the vertical rhythm tightens to match. */
@media (max-width: 33rem) {
  .contacts {
    flex-direction: column;
    align-self: stretch;
    margin-top: 1.75rem;
  }

  .logo {
    width: min(66vw, 26vh, 20rem);
  }

  .badge {
    margin-top: 1.5rem;
  }

  h1 {
    margin-top: 1.25rem;
  }

  .lede {
    margin-top: 1.25rem;
    font-size: 1rem;
    line-height: 1.7;
  }

  footer {
    padding-bottom: 1.5rem;
  }
}

footer {
  width: 100%;
  max-width: 48rem;
  margin: 0 auto;
  padding: 0 1.5rem 2rem;
  color: var(--text-subtle);
  font-size: 0.875rem;
  text-align: center;
}

footer p {
  margin: 0 0 0.5rem;
}

footer p:last-child {
  margin-bottom: 0;
}

/* Everything arrives with the same small rise, staggered by the per-element
   --delay. `backwards` keeps each element hidden through its own delay rather
   than flashing in first. */
.rise {
  animation: rise 700ms cubic-bezier(0.16, 1, 0.3, 1) var(--delay, 0ms) backwards;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
}

@keyframes pulse-ring {
  to {
    opacity: 0;
    transform: scale(2.2);
  }
}

:where(a):focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .rise,
  .dot__ring {
    animation: none;
  }
}
