/* career-ops — Signal template: one screen, one claim, no scroll. */

:root {
  --ink: #f4f1ea;
  --ink-muted: rgba(244, 241, 234, 0.62);
  --ink-faint: rgba(244, 241, 234, 0.55);
}

* { box-sizing: border-box; }

html, body {
  height: 100%;
  margin: 0;
}

body {
  font-family: ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: #0a0c0f;
  overflow-x: hidden;
}

/* ---------- generated backdrop: drifting graphite field, no asset ---------- */

.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(45% 40% at 50% 45%, rgba(0, 0, 0, 0.4), transparent 72%),
    radial-gradient(55% 48% at 18% 16%, rgba(120, 138, 156, 0.28), transparent 70%),
    radial-gradient(50% 45% at 82% 74%, rgba(176, 118, 70, 0.20), transparent 72%),
    linear-gradient(160deg, #0a0c0f, #101317 55%, #0b0e12);
  background-size: 100% 100%, 160% 160%, 160% 160%, 100% 100%;
  animation: drift 32s ease-in-out infinite alternate;
}

@keyframes drift {
  from { background-position: 0 0, 0% 0%, 100% 100%, 0 0; }
  to   { background-position: 0 0, 30% 22%, 68% 80%, 0 0; }
}

/* ---------- surface: liquid glass, dark-backdrop variant ---------- */

.liquid-glass {
  background: rgba(0, 0, 0, 0.4);
  background-blend-mode: luminosity;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: none;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}
.liquid-glass::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  padding: 1.4px;
  background: linear-gradient(180deg,
    rgba(255,255,255,0.30) 0%, rgba(255,255,255,0.10) 20%,
    rgba(255,255,255,0) 40%, rgba(255,255,255,0) 60%,
    rgba(255,255,255,0.10) 80%, rgba(255,255,255,0.30) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* ---------- entrance ---------- */

@keyframes fade-rise {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-rise   { animation: fade-rise .8s ease-out both; }
.fade-rise-1 { animation: fade-rise .8s ease-out .2s both; }
.fade-rise-2 { animation: fade-rise .8s ease-out .4s both; }
.appear      { animation: fade-rise .8s ease-out var(--d, .08s) both; }

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

/* ---------- shine on hover, for the pill buttons ---------- */

.btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-block;
}
.btn::after {
  content: '';
  position: absolute; inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 20%,
    rgba(255,255,255,.35) 48%, transparent 76%);
  transform: translateX(-130%);
  transition: transform .65s ease;
}
.btn:hover::after { transform: translateX(130%); }

/* ---------- layout ---------- */

.hero {
  position: relative;
  z-index: 10;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1.25rem 1.75rem;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  row-gap: 0.5rem;
  gap: 1rem;
  max-width: 64rem;
  margin: 0 auto;
  width: 100%;
  padding: 0.7rem 0.7rem 0.7rem 1.25rem;
  border-radius: 999px;
}

.wordmark {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

.nav-cta {
  font-family: ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 0.9rem;
  color: var(--ink);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  padding: 0.55rem 1.1rem;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-link {
  font-family: ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 0.9rem;
  color: var(--ink-muted);
  text-decoration: none;
  padding: 0.55rem 0.6rem;
}

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

.kicker {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  color: var(--ink-faint);
  margin: 0 0 1.25rem;
}

h1 {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
  font-size: 2.75rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 1.25rem;
}
@media (min-width: 40rem) {
  h1 { font-size: 4rem; }
}

.dek {
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--ink-muted);
  max-width: 34rem;
  margin: 0 0 2rem;
}

.cta {
  font-size: 1rem;
  color: #0b0e12;
  text-decoration: none;
  background: var(--ink);
  border-radius: 999px;
  padding: 0.85rem 1.75rem;
}

footer {
  text-align: center;
  font-size: 0.85rem;
  color: var(--ink-faint);
}
footer a {
  color: var(--ink-muted);
}
footer p { margin: 0; }

/* ---------- intake form (apply.html) ---------- */

.form-lede {
  max-width: 34rem;
  padding: 2rem 1rem;
  justify-content: flex-start;
}

.intake-form {
  width: 100%;
  text-align: left;
  border-radius: 1.5rem;
  padding: 1.5rem;
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.field label {
  font-size: 0.8rem;
  color: var(--ink-muted);
}

.field input {
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.05);
  border: none;
  border-radius: 0.6rem;
  padding: 0.7rem 0.85rem;
  width: 100%;
}

.field input::placeholder {
  color: var(--ink-faint);
}

.field input:focus-visible,
.intake-form button:focus-visible,
.nav-link:focus-visible {
  outline: 2px solid var(--ink-muted);
  outline-offset: 2px;
}

.intake-form button {
  border: none;
  cursor: pointer;
  align-self: flex-start;
}

.form-note {
  font-size: 0.85rem;
  color: var(--ink-muted);
  margin: 0;
}
