/* ========================================= */
/* HERNANDEZ ADVISORY — COMPLETE CORE STYLES */
/* Upscale · Private · Authoritative         */
/* ========================================= */

/* ---------- Variables ---------- */
:root {
  --ha-ink: #1f1f1f;
  --ha-stone: #f6f5f2;       /* warmer, more expensive */
  --ha-ivory: #ffffff;
  --ha-border: rgba(0,0,0,0.06);
  --ha-muted: #6b6b6b;
}

/* ---------- Base ---------- */
.ha-site,
.ha-home,
.ha-authority,
.ha-apply {
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Helvetica Neue", Arial, sans-serif;
  color: var(--ha-ink);
  background: var(--ha-ivory);
  line-height: 1.6;
}

.ha-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.ha-narrow {
  max-width: 720px;
}

/* ---------- Hero ---------- */
.ha-hero {
  padding: 180px 0 120px;
  text-align: center;
  background:
    radial-gradient(
      circle at 50% -30%,
      rgba(0,0,0,0.05),
      transparent 75%
    );
}

.ha-eyebrow {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ha-muted);
  margin-bottom: 22px;
}

.ha-hero h1 {
  font-size: clamp(42px, 6vw, 56px);
  font-weight: 500;
  letter-spacing: -0.015em;
  margin-bottom: 26px;
}

.ha-subhead {
  font-size: 20px;
  color: var(--ha-muted);
  max-width: 38ch;
  margin: 0 auto 48px;
}

/* ---------- Sections ---------- */
.ha-section {
  padding: 140px 0;
}

.ha-muted {
  background: var(--ha-stone);
}

.ha-section h2 {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin-bottom: 26px;
}

/* ---------- Text ---------- */
.ha-lead {
  font-size: 20px;
  line-height: 1.7;
  max-width: 38ch;
  margin: 0 auto 28px;
}

.ha-emphasis {
  margin-top: 36px;
  font-weight: 500;
}

/* ---------- Lists ---------- */
.ha-focus,
.ha-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ha-focus li,
.ha-list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--ha-border);
}

/* ---------- Buttons ---------- */
.ha-btn-primary,
.ha-btn-secondary,
.ha-btn {
  display: inline-block;
  padding: 14px 34px;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  position: relative;
  transition: all 0.25s ease;
}

.ha-btn-primary {
  background: var(--ha-ink);
  color: #ffffff;
}

.ha-btn-secondary {
  border: 1px solid var(--ha-ink);
  color: var(--ha-ink);
}

.ha-btn-primary:hover,
.ha-btn-secondary:hover {
  opacity: 0.9;
}

.ha-btn-primary::after,
.ha-btn-secondary::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(0,0,0,0.15);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.ha-btn-primary:hover::after,
.ha-btn-secondary:hover::after {
  opacity: 1;
}

/* ---------- Founder ---------- */
.ha-founder-name {
  font-size: 18px;
  font-weight: 500;
}

.ha-founder-cred {
  color: var(--ha-muted);
  margin-bottom: 24px;
}

/* ---------- CTA ---------- */
.ha-cta {
  text-align: center;
}

/* ---------- Divider ---------- */
.ha-divider {
  border: none;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(0,0,0,0.12),
    transparent
  );
  margin: 120px 0;
}

/* ---------- Footer ---------- */
.ha-footer {
  padding: 80px 0;
  border-top: 1px solid var(--ha-border);
  font-size: 13px;
  color: var(--ha-muted);
}

.ha-footer-note {
  margin-bottom: 24px;
}

.ha-footer a {
  opacity: 0.85;
  text-decoration: none;
}

.ha-footer a:hover {
  opacity: 1;
}

/* ---------- Header Polish (Kadence) ---------- */
.site-header {
  letter-spacing: 0.01em;
  backdrop-filter: saturate(120%);
}

.site-header a {
  transition: opacity 0.2s ease;
}

.site-header a:hover {
  opacity: 0.65;
}

.site-header .site-title {
  letter-spacing: 0.04em;
}

/* Remove marketing-style button noise */
.site-header .kadence-button {
  box-shadow: none !important;
}

/* ---------- WPForms (Application Page) ---------- */
.wpforms-container {
  margin-top: 40px;
}

.wpforms-field-label {
  font-weight: 500;
}

.wpforms-field input,
.wpforms-field textarea,
.wpforms-field select {
  border-radius: 0 !important;
  border: 1px solid rgba(0,0,0,0.25);
  padding: 14px 16px;
  font-size: 15px;
}

.wpforms-submit {
  background: var(--ha-ink) !important;
  color: #ffffff !important;
  border-radius: 0 !important;
  padding: 14px 34px !important;
  font-size: 14px !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase;
}

.wpforms-submit:hover {
  opacity: 0.85;
}
/* Serif Accent — Authority Signal */

.ha-hero h1 {
  font-family: "Libre Baskerville", Georgia, serif;
  font-weight: 400;
}
/* Paper Grain Texture */

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.015'/%3E%3C/svg%3E");
  z-index: 0;
}
/* Micro Motion — Composure */

.ha-section {
  animation: ha-fade-in 0.8s ease both;
}

@keyframes ha-fade-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Monogram Mark */

.ha-monogram {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 12px;
  letter-spacing: 0.3em;
  opacity: 0.35;
  text-transform: uppercase;
}
/* Institutional Header Weight */

.site-header {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(6px) saturate(120%);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(0,0,0,0.12),
    transparent
  );
}
/* ========================================= */
/* Founder Signature Mark — Hernandez Advisory */
/* ========================================= */

.ha-signature {
  font-family: "Libre Baskerville", Georgia, serif;
  font-style: italic;
  font-size: 16px;
  letter-spacing: 0.02em;
  color: rgba(31,31,31,0.75);
  margin-top: 36px;
}

.ha-signature span {
  display: block;
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Helvetica Neue", Arial, sans-serif;
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(31,31,31,0.45);
  margin-top: 6px;
}
/* ========================================= */
/* Private Welcome Screen                    */
/* ========================================= */

#ha-welcome {
  position: fixed;
  inset: 0;
  background: #ffffff;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: ha-welcome-exit 0.6s ease forwards;
  animation-delay: 2s;
}

.ha-welcome-inner {
  text-align: center;
}

.ha-welcome-inner p {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 28px;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.ha-welcome-inner span {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ha-muted);
}

@keyframes ha-welcome-exit {
  to {
    opacity: 0;
    visibility: hidden;
  }
}
/* ========================================= */
/* Private Welcome Screen — Logo Integration */
/* ========================================= */

#ha-welcome {
  position: fixed;
  inset: 0;
  background: #ffffff;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: ha-welcome-exit 0.6s ease forwards;
  animation-delay: 2s;
}

.ha-welcome-inner {
  text-align: center;
}

.ha-welcome-logo {
  max-width: 420px;
  width: 100%;
  height: auto;
  margin-bottom: 18px;
}

.ha-welcome-inner span {
  display: block;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ha-muted);
}

@keyframes ha-welcome-exit {
  to {
    opacity: 0;
    visibility: hidden;
  }
}
/* ========================================= */
/* Footer Logo — Seal Treatment              */
/* ========================================= */

.ha-footer-logo {
  margin-bottom: 32px;
}

.ha-footer-logo img {
  max-width: 200px;
  width: 100%;
  height: auto;
  opacity: 0.65;
}