/* Indian Recruitment Xchange Services (irxservices.in) launching soon page: the Ajantha logo in its faint ring, the name, and one yellow accent. */

:root {
  --ink: #141414;
  --text: #4a4947;
  --muted: #6c6b69;
  --line: #e7e6e3;
  --accent: #f6c100;
  --accent-rgb: 246 193 0;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: 1fr auto;
  padding: clamp(1.5rem, 4vh, 3rem) 1.5rem clamp(1.25rem, 3vh, 2rem);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
h1, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }
::selection { background: var(--accent); color: var(--ink); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

.page { display: grid; align-content: center; justify-items: center; gap: clamp(1.1rem, 3vh, 1.75rem); text-align: center; }

/* Logo, ring and name, as on ajanthairx.com. The size follows the window height so it fits short screens. */
/* Full width so the turning ring is never cut off; overflow-x: clip stops it making a phone scroll sideways. */
.brand { --logo-w: clamp(8rem, min(28vw, 22vh), 11rem); justify-self: stretch; display: grid; justify-items: center; gap: 0.85rem; overflow-x: clip; }
.brand-art { position: relative; width: var(--logo-w); margin-block: clamp(1rem, 3vh, 1.6rem); }
.logo { position: relative; z-index: 1; width: 100%; animation: float 7s ease-in-out infinite; }
.orbit-wrap { position: absolute; z-index: 0; top: 50%; left: 50%; width: 134%; aspect-ratio: 1; transform: translate(-50%, -50%); }
.orbit { position: absolute; inset: 0; border: 1px solid #dedcd8; border-radius: 50%; animation: spin 50s linear infinite; }
.orbit span { position: absolute; inset: 0; transform: rotate(var(--a)); }
.orbit span::after {
  content: ""; position: absolute; top: 0; left: 50%; width: 0.65rem; height: 0.65rem; margin: -0.325rem 0 0 -0.325rem;
  border-radius: 50%; background: var(--accent);
}
.orbit span:nth-child(2)::after { width: 0.45rem; height: 0.45rem; margin: -0.225rem 0 0 -0.225rem; background: var(--ink); }
.orbit span:nth-child(3)::after { background: #fff; box-shadow: inset 0 0 0 1.5px var(--muted); }
.wordmark { width: calc(var(--logo-w) * 0.9); }

/* The vertical's name, its old name in brackets, and its line. */
.title { display: grid; gap: 0.35rem; }
.name { color: var(--ink); font-size: clamp(1.45rem, 4.4vw, 2.1rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.2; text-wrap: balance; }
.aka { color: var(--text); font-size: 1rem; font-weight: 500; }
.tagline { color: var(--muted); font-size: 1.0625rem; letter-spacing: 0.01em; line-height: 1.4; }

/* Launching soon, with a softly pulsing yellow dot. */
.soon {
  display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.7rem 1.25rem; border-radius: 999px;
  background: rgb(var(--accent-rgb) / 0.16); box-shadow: inset 0 0 0 1px rgb(var(--accent-rgb) / 0.55);
  color: var(--ink); font-size: 0.9375rem; font-weight: 500; line-height: 1;
}
.soon .dot { flex: none; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--accent); animation: ping 2.2s ease-out infinite; }

.foot {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.35rem 1.5rem; padding-top: 1.5rem;
  color: var(--muted); font-size: 0.8125rem; text-align: center;
}
.foot a {
  padding-bottom: 1px; color: var(--ink); text-decoration: none;
  background: linear-gradient(var(--line), var(--line)) no-repeat 0 100% / 100% 1px;
}
.foot a:hover, .foot a:focus-visible { background-image: linear-gradient(var(--accent), var(--accent)); background-size: 100% 2px; }

/* Motion */
.rise { animation: rise 0.8s var(--ease) both; animation-delay: calc(var(--i, 0) * 90ms); }
@keyframes rise { from { opacity: 0; transform: translateY(14px); filter: blur(4px); } }
@keyframes float { 0%, 100% { transform: translateY(-4px); } 50% { transform: translateY(6px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgb(var(--accent-rgb) / 0.6); } 80%, 100% { box-shadow: 0 0 0 0.5rem rgb(var(--accent-rgb) / 0); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
