/* =========================================================
   Wellspring HR — Under Development Landing Page
   Palette drawn from logo-card.jpg (deep navy + gold)
   ========================================================= */

:root {
  /* Navy scale */
  --navy-950: #061426;
  --navy-900: #0a1f3c;
  --navy-800: #0e2a4e;
  --navy-700: #143a66;
  --navy-600: #1b4a80;
  --navy-500: #2b5f9c;

  /* Gold scale */
  --gold-600: #a67c1f;
  --gold-500: #c9a227;
  --gold-400: #d9b85c;
  --gold-300: #e8d9a8;

  /* Neutrals */
  --cream: #faf8f3;
  --cream-2: #f3efe6;
  --ink: #0b1727;
  --muted: #5a6b80;
  --white: #ffffff;

  --ring: rgba(201, 162, 39, 0.45);
  --shadow-sm: 0 2px 8px rgba(10, 31, 60, 0.08);
  --shadow-md: 0 12px 30px rgba(10, 31, 60, 0.12);
  --shadow-lg: 0 30px 70px rgba(6, 20, 38, 0.28);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 26px;

  --container: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Jost", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1200px 700px at 12% -10%, #12365f 0%, transparent 55%),
    radial-gradient(1000px 600px at 100% 0%, #0b2444 0%, transparent 50%),
    linear-gradient(160deg, var(--navy-900) 0%, var(--navy-950) 55%, #040d1a 100%);
  background-attachment: fixed;
  min-height: 100vh;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 { margin: 0 0 0.5rem; line-height: 1.15; font-weight: 600; }

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

/* ---------- Decorative background ---------- */
.bg-decor {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  animation: float 16s var(--ease) infinite alternate;
}
.orb--navy {
  width: 42vw; height: 42vw;
  background: radial-gradient(circle, var(--navy-500), transparent 70%);
  top: -12vw; left: -8vw;
}
.orb--gold {
  width: 34vw; height: 34vw;
  background: radial-gradient(circle, var(--gold-500), transparent 70%);
  bottom: -14vw; right: -6vw;
  opacity: 0.32;
  animation-delay: -6s;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 20%, transparent 75%);
}

.wave {
  position: absolute;
  bottom: 0; left: 0;
  width: 100%;
  height: 140px;
  fill: rgba(201, 162, 39, 0.07);
}

@keyframes float {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(4vw, 3vw, 0) scale(1.12); }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: linear-gradient(180deg, rgba(6, 20, 38, 0.85), rgba(6, 20, 38, 0.35));
  border-bottom: 1px solid rgba(201, 162, 39, 0.16);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 74px;
}

.brand__logo {
  height: 46px;
  width: auto;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(6, 20, 38, 0.35);
}

.header-cta { margin-left: auto; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  position: relative;
  transition: transform 0.25s var(--ease), box-shadow 0.3s var(--ease),
              background 0.3s var(--ease), color 0.25s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(0.99); }

.btn--primary {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-400) 55%, var(--gold-600));
  color: var(--navy-950);
  box-shadow: 0 10px 26px rgba(201, 162, 39, 0.32);
  font-weight: 600;
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(201, 162, 39, 0.45);
}

.btn--outline {
  border-color: rgba(255, 255, 255, 0.28);
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.04);
}
.btn--outline:hover {
  border-color: var(--gold-400);
  color: var(--gold-300);
  background: rgba(201, 162, 39, 0.1);
}

.btn--ghost {
  border-color: rgba(201, 162, 39, 0.4);
  color: var(--gold-300);
  background: rgba(201, 162, 39, 0.08);
}
.btn--ghost:hover {
  background: rgba(201, 162, 39, 0.18);
  transform: translateY(-2px);
}

.btn--block { width: 100%; }

.btn__spinner {
  display: none;
  width: 16px; height: 16px;
  border: 2px solid rgba(6, 20, 38, 0.3);
  border-top-color: var(--navy-950);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
.btn.is-loading .btn__spinner { display: inline-block; }
.btn.is-loading .btn__label { opacity: 0.75; }
.btn[disabled] { cursor: not-allowed; opacity: 0.75; }

@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Hero ---------- */
.hero { position: relative; z-index: 1; padding: clamp(3rem, 7vw, 6rem) 0 6rem; }

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(201, 162, 39, 0.35);
  background: rgba(201, 162, 39, 0.08);
  color: var(--gold-300);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.badge__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold-400);
  box-shadow: 0 0 0 0 rgba(217, 184, 92, 0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(217, 184, 92, 0.55); }
  70%  { box-shadow: 0 0 0 12px rgba(217, 184, 92, 0); }
  100% { box-shadow: 0 0 0 0 rgba(217, 184, 92, 0); }
}

.hero__logo {
  width: 60%;
  height: auto;
  margin: 0 0 1.6rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.38);
}

.hero__title {
  margin-top: 1.5rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  color: var(--white);
  letter-spacing: 0.01em;
}
.hero__title .accent {
  font-style: italic;
  background: linear-gradient(120deg, var(--gold-300), var(--gold-500) 60%, var(--gold-600));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__subtitle {
  margin: 1.25rem 0 0;
  max-width: 34rem;
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  color: rgba(255, 255, 255, 0.76);
  font-weight: 300;
}

.values {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
  padding: 1.6rem 0 0;
  margin: 0;
}
.values li {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}
.values__mark {
  width: 6px; height: 6px;
  transform: rotate(45deg);
  background: var(--gold-500);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.contact-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.9rem;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease),
              background 0.25s var(--ease);
}
.chip svg { width: 18px; height: 18px; fill: var(--gold-400); }
.chip:hover {
  transform: translateY(-2px);
  border-color: rgba(201, 162, 39, 0.5);
  background: rgba(201, 162, 39, 0.1);
}

/* ---------- Contact card ---------- */
.card {
  position: relative;
  padding: clamp(1.6rem, 3vw, 2.4rem);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(243, 239, 230, 0.96));
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.6);
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg, var(--navy-800), var(--gold-500) 55%, var(--gold-300));
}
.card__glow {
  position: absolute;
  top: -60px; right: -60px;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.25), transparent 70%);
  pointer-events: none;
}
.card__title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  color: var(--navy-900);
}
.card__text {
  margin: 0 0 1.4rem;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 300;
}

/* ---------- Form ---------- */
.form { display: grid; gap: 1rem; }

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.field { display: grid; gap: 0.35rem; }
.field label {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy-800);
}
.req { color: var(--gold-600); }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.8rem 0.95rem;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid #e2e0d8;
  border-radius: var(--radius-sm);
  transition: border-color 0.22s var(--ease), box-shadow 0.22s var(--ease);
}
.field textarea { resize: vertical; min-height: 104px; }

.field input::placeholder,
.field textarea::placeholder { color: #a9b0bb; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold-500);
  box-shadow: 0 0 0 4px var(--ring);
}

.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea {
  border-color: #d64545;
  box-shadow: 0 0 0 4px rgba(214, 69, 69, 0.14);
}

.error {
  min-height: 0.95rem;
  font-size: 0.76rem;
  color: #c0392b;
  letter-spacing: 0.01em;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.45;
  cursor: pointer;
}
.consent input {
  margin-top: 3px;
  width: 17px; height: 17px;
  accent-color: var(--gold-600);
  flex-shrink: 0;
}

/* Honeypot hidden */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

.form__status {
  font-size: 0.88rem;
  border-radius: var(--radius-sm);
  padding: 0;
  transition: all 0.3s var(--ease);
}
.form__status.is-success,
.form__status.is-error {
  padding: 0.75rem 1rem;
}
.form__status.is-success {
  background: rgba(30, 132, 73, 0.1);
  border: 1px solid rgba(30, 132, 73, 0.3);
  color: #1e8449;
}
.form__status.is-error {
  background: rgba(192, 57, 43, 0.08);
  border: 1px solid rgba(192, 57, 43, 0.28);
  color: #c0392b;
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  z-index: 1;
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(4, 13, 26, 0.7);
  backdrop-filter: blur(10px);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  padding: 3rem 0 2rem;
}
.footer__brand img {
  height: 58px;
  width: auto;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(6, 20, 38, 0.35);
  margin-bottom: 1.25rem;
}
.footer__brand p {
  margin: 0;
  max-width: 30rem;
  color: rgba(255, 255, 255, 0.62);
  font-weight: 300;
  font-size: 0.95rem;
}
.footer__contact h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.25rem;
  color: var(--gold-300);
}
.footer__contact { display: grid; gap: 0.2rem; align-content: start; }
.footer__contact a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  transition: color 0.25s var(--ease);
}
.footer__contact a:hover { color: var(--gold-400); }

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 1.1rem 0;
  text-align: center;
}
.footer__bottom p {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal--delay { transition-delay: 0.15s; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__content { text-align: center; }
  .hero__logo { margin-inline: auto; }
  .hero__subtitle { margin-inline: auto; }
  .values, .hero__actions, .contact-chips { justify-content: center; }
  .header-cta { display: none; }
}

@media (max-width: 640px) {
  .form__row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .brand__logo { height: 38px; }
  .btn { width: 100%; }
  .hero__actions { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
