/* ============================================================
   Avatier Identity Anywhere 2027 — campaign landing
   Style mirrored from credentialgovernance.avatier.com
   ============================================================ */

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  font-style: normal;
}

:root {
  /* palette — Avatier corporate (avatier.com):
     BLUE brand identity (logo #0075C9, azure #009ADE, navy→azure hero gradient)
     + ORANGE action buttons (#E57121 / #BC4C00). Slate text #475467. */
  --bg: #ffffff;
  --bg-soft: #f4f7fb;
  --ink: #101828;
  --ink-2: #475467;      /* Avatier slate body text */
  --ink-3: #667085;
  --hero-a: #07103a;     /* deep brand navy (hero start / panels) */
  --hero-b: #050d24;     /* deeper navy (trust/footer bg, fades) */
  --panel-dark: #071038;
  /* accent = Avatier BLUE (var names kept as --green* to limit churn) */
  --green: #0075c9;      /* Avatier logo blue — eyebrows, highlight, borders */
  --green-2: #009ade;    /* bright azure — on-dark accents, highlight */
  --green-ink: #005a9c;  /* deep blue — tag text */
  --brand-rgb: 0, 154, 222;   /* azure tint for rings/tags/glows */
  --blue: #009ade;
  /* CTA = Avatier action ORANGE */
  --cta: #e57121;
  --cta-hover: #bc4c00;
  --cta-rgb: 229, 113, 33;
  --line: rgba(16, 24, 40, 0.10);
  --line-dark: rgba(255, 255, 255, 0.14);

  /* type + spacing */
  --font: "Inter", "Inter Fallback", ui-sans-serif, system-ui, sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --maxw: 1160px;
  --shadow: 0 18px 48px -18px rgba(10, 20, 38, 0.22);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.55;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }

.hl { color: var(--green); }
/* highlights on dark sections (hero 2027 / Outcome-Driven, booking 15-minute demo):
   background gradient, stops reversed */
.hero .hl,
.apply .hl {
  background: linear-gradient(95deg, #33b1ff 0%, #2dd4b0 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

.eyebrow {
  display: inline-block;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
  margin: 0 0 20px;
}
.eyebrow.on-dark { color: var(--green-2); }
.eyebrow .eb-white { color: #fff; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  padding: 16px 24px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--cta); color: #fff; box-shadow: 0 10px 24px -10px rgba(var(--cta-rgb), .7); }
.btn-primary:hover { background: var(--cta-hover); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost.on-dark { color: #fff; border-color: var(--line-dark); }
.btn-ghost.on-dark:hover { background: rgba(255, 255, 255, .06); }
.btn-sm { padding: 12px 18px; font-size: 14px; }
.btn .arrow { transition: transform .15s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(4, 11, 30, .94);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, .10);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand { display: inline-flex; align-items: center; color: #fff; }
.brand .avatier-logo { height: 34px; width: auto; display: block; }
.header-nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.header-nav a { font-size: 15px; font-weight: 600; color: rgba(255, 255, 255, .72); }
.header-nav a:hover { color: #fff; }
.header-cta { margin-left: 8px; }

/* ---------- hero ---------- */
/* shared dark gradient behind hero + trust so the trust band can be transparent */
.stage {
  position: relative;
  background:
    radial-gradient(120% 90% at 0% 55%, #0d7a7a 0%, rgba(13,122,122,0) 55%),
    radial-gradient(110% 95% at 92% 0%, #2a1a6e 0%, rgba(42,26,110,0) 55%),
    radial-gradient(120% 85% at 60% 110%, #0a4a6e 0%, rgba(10,74,110,0) 55%),
    #090e1a;
  overflow: hidden;
}
.hero {
  position: relative;
  background: transparent;
  color: #fff;
  padding: 0;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(70% 70% at 50% 40%, #000 0%, transparent 100%);
  pointer-events: none;
}
/* oversized brand "A" watermark, right side (as on avatier.com) */
.hero-watermark {
  position: absolute; top: 50%; right: -14%; transform: translateY(-50%);
  height: 132%; width: auto; aspect-ratio: 112 / 100; z-index: 0;
  color: #fff; opacity: .05; pointer-events: none;
  /* feather the edges so the partial "A" dissolves into the gradient
     instead of reading as a hard clipped mask */
  -webkit-mask-image: radial-gradient(60% 60% at 45% 50%, #000 30%, transparent 78%);
          mask-image: radial-gradient(60% 60% at 45% 50%, #000 30%, transparent 78%);
}
.hero-watermark svg { height: 100%; width: 100%; display: block; }
@media (max-width: 900px) { .hero-watermark { right: -20%; opacity: .045; } }

.hero-inner { position: relative; z-index: 1; padding-block: 92px 64px; max-width: 900px; text-align: left; }
.hero h1 {
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin: 0 0 12px;
}
.hero-tagline {
  font-size: clamp(20px, 2.6vw, 30px); line-height: 1.2; font-weight: 700;
  letter-spacing: -0.015em; color: rgba(255, 255, 255, .92);
  margin: 0 0 22px; max-width: 760px;
}
.hero .subhead { font-size: clamp(17px, 2vw, 21px); line-height: 1.6; color: rgba(255, 255, 255, .82); margin: 0 0 90px; max-width: 720px; text-align: left; }
.hero .cta-line { font-size: 16px; font-weight: 600; color: var(--green-2); margin: 0 0 22px; text-align: left; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- trust banner ---------- */
.trust {
  background: transparent;
  color: #fff;
  padding: 0 0 30px;
  margin-top: 0;
}
/* exact mirror of credentialgovernance trust banner */
.tb-viewport { position: relative; overflow: hidden; height: 84px; perspective: 800px; margin-bottom: 20px; }
.tb-grid { display: grid; grid-template-columns: 1fr 1fr; height: 100%; }
/* mask fades each column's ends (outer edge + center) so it works over the
   gradient without painting a solid block */
.tb-col { position: relative; height: 100%; overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 13%, #000 86%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 13%, #000 86%, transparent 100%);
}
.tb-track { display: flex; height: 100%; width: max-content; }
.tb-track-rev { animation: tb-marquee-rev 280s linear infinite; }
.tb-track-fwd { animation: tb-marquee-fwd 280s linear infinite; }
.tb-track.tb-track-rev:hover, .tb-track.tb-track-fwd:hover { animation-play-state: paused; }
.tb-item { display: flex; height: 100%; flex-shrink: 0; align-items: center; padding: 0 30px; }
.tb-item img {
  height: 54px; width: auto; object-fit: contain;
  filter: grayscale(1) brightness(2); opacity: .95; transition: opacity .2s ease;
}
.tb-item img:hover { opacity: 1; }
/* dark logos that don't whiten under grayscale+brightness — force to white */
.tb-item img[src*="hitech"],
.tb-item img[src*="vpat"],
.tb-item img[src*="ferpa"] { filter: brightness(0) invert(1); }

/* color-overlay fades removed — edge fading is handled by the column mask
   above so the banner works over the transparent gradient backdrop */
.tb-fade { display: none; }

/* centered Avatier "A" emblem — spins while hovered */
.tb-center {
  position: absolute; top: 50%; left: 50%; z-index: 30;
  transform: translate(-50%, -50%); width: 74px; height: 74px; opacity: .75; color: #fff;
  cursor: pointer; perspective: 600px;
}
/* static by default; horizontal (Y-axis) spin ONLY on hover */
.tb-center svg { width: 100%; height: 100%; display: block; transform-origin: 50% 50%; }
.tb-center:hover { opacity: 1; }
.tb-center:hover svg { animation: tb-spin-y 1.8s linear infinite; }
@keyframes tb-spin-y { from { transform: rotateY(0deg); } to { transform: rotateY(360deg); } }
@media (prefers-reduced-motion: reduce) { .tb-center:hover svg { animation: none; } }

/* caption below, dashes on both sides */
.tb-caption { display: flex; align-items: center; justify-content: center; gap: 12px; }
.tb-caption p {
  margin: 0; font-size: 11px; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: rgba(255, 255, 255, .6);
}
.tb-dash { display: block; width: 24px; height: 1px; background: rgba(255, 255, 255, .2); flex: none; }

@keyframes tb-marquee-fwd { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes tb-marquee-rev { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) {
  .tb-track-rev, .tb-track-fwd { animation: none; }
}

/* ---------- sections ---------- */
section { padding: 84px 0; }
.section-head { max-width: 760px; margin: 0 0 44px; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; margin: 0 0 16px; }
.section-head p { font-size: 18px; color: var(--ink-2); margin: 0; }

/* shift */
/* The Shift — dark "manifesto" band (contrast with the light sections around it) */
.shift {
  position: relative; color: #fff; overflow: hidden;
  background:
    radial-gradient(120% 90% at 0% 60%, rgba(13,122,122,.55) 0%, rgba(13,122,122,0) 55%),
    radial-gradient(110% 95% at 95% 5%, rgba(42,26,110,.6) 0%, rgba(42,26,110,0) 55%),
    radial-gradient(120% 85% at 60% 115%, rgba(10,74,110,.5) 0%, rgba(10,74,110,0) 55%),
    #090e1a;
  border-block: 1px solid rgba(255,255,255,.08);
}
.shift::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(75% 75% at 50% 40%, #000 0%, transparent 100%);
}
.shift .wrap { position: relative; z-index: 1; }
.shift .section-head { color: #fff; }
.shift .body { font-size: clamp(19px, 2.4vw, 24px); line-height: 1.5; color: rgba(255,255,255,.82); max-width: 820px; margin: 0 0 40px; font-weight: 500; }
.shift .hl { color: var(--green-2); }

/* shimmering divider */
.shift-divider {
  height: 1px; max-width: 640px; margin: 0 0 36px;
  background: linear-gradient(90deg, transparent 0%, rgba(51,177,255,.7) 25%, rgba(45,212,176,.9) 50%, rgba(51,177,255,.7) 75%, transparent 100%);
  background-size: 200% 100%;
  animation: shift-shimmer 6s linear infinite;
}
@keyframes shift-shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .shift-divider { animation: none; } }

/* two-era closing */
.shift-closing { max-width: 720px; }
.shift-closing .ending {
  font-size: clamp(17px, 2vw, 20px); font-weight: 600; color: rgba(255,255,255,.45);
  margin: 0 0 8px; text-decoration: line-through; text-decoration-color: rgba(255,255,255,.25);
}
.shift-closing .begun {
  font-size: clamp(22px, 3.2vw, 34px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; margin: 0;
  background: linear-gradient(95deg, #33b1ff 0%, #2dd4b0 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}

/* why cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 28px; box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--green) 100%);
}
.card .tag {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--green-ink); background: rgba(var(--brand-rgb), .08); padding: 5px 10px; border-radius: 999px; margin: 0 0 16px;
}
.card h3 { font-size: 21px; font-weight: 800; letter-spacing: -0.01em; margin: 0 0 10px; }
.card p { font-size: 15.5px; color: var(--ink-2); margin: 0; }

/* ---------- apply ---------- */
.apply { background: linear-gradient(160deg, var(--hero-a) 0%, var(--hero-b) 100%); color: #fff; position: relative; overflow: hidden; }
.apply::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(50% 50% at 85% 20%, rgba(var(--brand-rgb), .14) 0, transparent 60%);
  pointer-events: none;
}
.apply-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.wrap.apply-copy { max-width: 820px; text-align: center; }
.wrap.apply-copy .booth { margin-inline: auto; }
/* HubSpot meetings scheduler embed */
.booking-embed {
  margin: 34px auto 0; max-width: 720px; background: #fff;
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .5);
}
.booking-embed iframe { width: 100%; min-height: 720px; border: 0; display: block; }
.booking-fallback {
  display: inline-block; margin-top: 18px; font-size: 14px; font-weight: 600;
  color: var(--green-2); text-decoration: underline; text-underline-offset: 3px;
}
.booking-fallback:hover { color: #fff; }
.apply-copy h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.08; margin: 0 0 22px; }
.apply-copy .hook { font-size: 19px; line-height: 1.55; color: rgba(255,255,255,.86); margin: 0 0 24px; }
.apply-copy .booth {
  display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600;
  color: var(--green-2); background: rgba(var(--brand-rgb), .10); border: 1px solid rgba(var(--brand-rgb), .3);
  padding: 12px 16px; border-radius: var(--radius);
}
.apply-copy .booth strong { color: #fff; }

.form-card { background: #fff; color: var(--ink); border-radius: var(--radius-lg); padding: 32px; box-shadow: 0 30px 70px -20px rgba(0,0,0,.5); }
.form-row { margin-bottom: 16px; }
.form-row label { display: block; font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.form-row .req { color: var(--green); }
.form-row input, .form-row select {
  width: 100%; font-family: var(--font); font-size: 15px; color: var(--ink);
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; transition: border-color .15s ease, box-shadow .15s ease;
}
.form-row input:focus, .form-row select:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(var(--brand-rgb), .14); }
.form-card .btn-primary { width: 100%; justify-content: center; margin-top: 6px; }
.form-card .or { text-align: center; font-size: 13px; color: var(--ink-3); margin: 16px 0 12px; position: relative; }
.form-card .btn-ghost { width: 100%; justify-content: center; }
.form-card .disclaimer { font-size: 12px; color: var(--ink-3); margin: 16px 0 0; text-align: center; }
.form-success { display: none; text-align: center; padding: 24px 8px; }
.form-success.show { display: block; }
.form-success .check { width: 52px; height: 52px; margin: 0 auto 16px; border-radius: 50%; background: rgba(var(--brand-rgb), .12); color: var(--green); display: grid; place-items: center; font-size: 26px; }
.form-success p { font-size: 15px; color: var(--ink-2); margin: 0; }

/* ---------- compliance ---------- */
.compliance { text-align: center; }
.compliance .eyebrow { color: var(--green); }
.compliance h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; letter-spacing: -0.02em; margin: 0 0 36px; }
.badges { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 40px; }
.badges img { height: 64px; width: auto; object-fit: contain; }

/* ---------- footer ---------- */
.footer-cta { background: var(--panel-dark); color: #fff; text-align: center; padding: 72px 0; }
.footer-cta .kicker { font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--green-2); margin: 0 0 14px; }
.footer-cta h2 { font-size: clamp(26px, 4vw, 40px); font-weight: 800; letter-spacing: -0.02em; margin: 0 0 16px; }
.footer-cta p { font-size: 17px; color: rgba(255,255,255,.7); max-width: 560px; margin: 0 auto 28px; }

.site-footer { background: var(--hero-b); color: rgba(255,255,255,.7); padding: 54px 0 40px; border-top: 1px solid var(--line-dark); }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; margin-bottom: 34px; }
.footer-brand { display: inline-flex; align-items: center; color: #fff; margin-bottom: 16px; }
.footer-brand .avatier-logo { height: 30px; width: auto; display: block; }
.footer-col address { font-style: normal; font-size: 14px; line-height: 1.7; }
.footer-col a { color: rgba(255,255,255,.8); }
.footer-col a:hover { color: #fff; }
.footer-tagline { max-width: 360px; font-size: 14px; line-height: 1.6; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: 13px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }

/* ---------- sticky mobile CTA ---------- */
.sticky-cta {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60;
  display: none; justify-content: center;
  box-shadow: 0 14px 34px -8px rgba(var(--cta-rgb), .6);
}
.sticky-cta .btn { width: 100%; justify-content: center; }
/* hide the sticky bar while the hero's own CTAs are visible (no duplicate) */
.sticky-cta { transition: opacity .25s ease, transform .25s ease; }
.sticky-cta.hidden { opacity: 0; transform: translateY(140%); pointer-events: none; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .header-nav { display: none; }
  .cards { grid-template-columns: 1fr; }
  .apply-grid { grid-template-columns: 1fr; gap: 32px; }
  section { padding: 64px 0; }
  .hero-inner { padding-block: 56px 44px; }
  .sticky-cta { display: flex; }
  .footer-cta { padding: 56px 0; }
}
@media (max-width: 560px) {
  .eyebrow { font-size: 12.5px; letter-spacing: 0.1em; }
  .hero-tagline { margin-bottom: 18px; }
  .hero .subhead { margin-bottom: 44px; }   /* was 90 — too much air on phones */
  .hero-ctas { gap: 12px; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .badges { gap: 26px; }
  .badges img { height: 48px; }
}
