/* ============================================================
   ADONICA HERNANDEZ — AI BUSINESS GROWTH & INNOVATION
   Design language: deep navy / teal / gold / clarity-white
   "McKinsey meets Apple meets an intelligence laboratory"
   ============================================================ */

:root {
  /* Core palette */
  --ink:        #05080F;   /* near-black base */
  --navy:       #0A1020;   /* executive navy */
  --navy-2:     #101A31;   /* raised navy */
  --navy-3:     #16233F;   /* panel navy */
  --line:       rgba(255,255,255,.10);
  --line-2:     rgba(255,255,255,.06);

  --teal:       #3BE0CE;   /* technology / innovation */
  --teal-deep:  #12A79A;
  --gold:       #E3B85C;   /* premium / transformation */
  --gold-deep:  #B98C2E;
  --gold-soft:  #F3DCA8;

  --white:      #F7F9FC;
  --mute:       #9AA9C0;
  --mute-2:     #6B7B95;

  /* Type */
  --display: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* Rhythm */
  --gut: clamp(20px, 4vw, 64px);
  --maxw: 1240px;
  --r: 14px;

  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
.wrap-tight { max-width: 880px; }
.section { padding-block: clamp(72px, 10vw, 148px); position: relative; }
.section--hair { border-top: 1px solid var(--line-2); }

.grid { display: grid; gap: clamp(18px, 2.4vw, 32px); }
.g2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.g5 { grid-template-columns: repeat(5, minmax(0,1fr)); }
@media (max-width: 1050px) { .g5 { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (max-width: 900px) { .g3, .g4 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 640px) { .g2, .g3, .g4, .g5 { grid-template-columns: 1fr; } }

/* ---------- Type ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--teal);
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: linear-gradient(90deg, var(--teal), transparent);
  flex: none;
}
.eyebrow--gold { color: var(--gold); }
.eyebrow--gold::before { background: linear-gradient(90deg, var(--gold), transparent); }

h1, h2, h3, h4 { margin: 0; font-weight: 400; letter-spacing: -.02em; line-height: 1.06; }
h1 { font-family: var(--display); font-size: clamp(38px, 6.4vw, 82px); }
h2 { font-family: var(--display); font-size: clamp(30px, 4.4vw, 56px); line-height: 1.08; }
h3 { font-family: var(--sans); font-size: clamp(19px, 1.6vw, 23px); font-weight: 600; letter-spacing: -.01em; line-height: 1.3; }
h4 { font-family: var(--sans); font-size: 15px; font-weight: 600; letter-spacing: .01em; }

.lede { font-size: clamp(16px, 1.35vw, 19px); color: var(--mute); max-width: 62ch; }
.muted { color: var(--mute); }
.muted-2 { color: var(--mute-2); }
.small { font-size: 13px; line-height: 1.6; }
.tiny { font-size: 11.5px; line-height: 1.55; color: var(--mute-2); letter-spacing: .01em; }
.tabular { font-variant-numeric: tabular-nums; }

.gold-text {
  background: linear-gradient(100deg, var(--gold-soft), var(--gold) 45%, var(--gold-deep));
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.teal-text { color: var(--teal); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 13px; font-weight: 600; letter-spacing: .11em; text-transform: uppercase;
  cursor: pointer; position: relative; overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, border-color .3s, color .3s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.btn .ar { transition: transform .35s var(--ease); }
.btn:hover .ar { transform: translateX(4px); }

.btn--gold {
  background: linear-gradient(120deg, var(--gold-soft), var(--gold) 40%, var(--gold-deep));
  color: #1A1204;
  box-shadow: 0 10px 34px -14px rgba(227,184,92,.75);
}
.btn--gold:hover { box-shadow: 0 18px 46px -16px rgba(227,184,92,.9); }

.btn--ghost { border-color: var(--line); color: var(--white); background: rgba(255,255,255,.02); }
.btn--ghost:hover { border-color: rgba(59,224,206,.5); background: rgba(59,224,206,.07); color: var(--teal); }

.btn--teal { background: var(--teal); color: #032B27; box-shadow: 0 10px 30px -14px rgba(59,224,206,.8); }
.btn--sm { padding: 11px 18px; font-size: 11px; }
.btn[disabled] { opacity: .4; pointer-events: none; }

/* ---------- Glass panel ---------- */
.panel {
  background: linear-gradient(160deg, rgba(255,255,255,.045), rgba(255,255,255,.012));
  border: 1px solid var(--line);
  border-radius: var(--r);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  position: relative;
}
.panel--pad { padding: clamp(22px, 2.6vw, 36px); }
.panel--hover { transition: border-color .4s var(--ease), transform .4s var(--ease), background .4s; }
.panel--hover:hover { border-color: rgba(59,224,206,.34); transform: translateY(-3px); }

.hairline { height: 1px; background: linear-gradient(90deg, transparent, var(--line), transparent); border: 0; margin: 0; }

/* ---------- Header ---------- */
.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 90;
  transition: background .45s var(--ease), border-color .45s, backdrop-filter .45s;
  border-bottom: 1px solid transparent;
}
.hdr.is-stuck {
  background: rgba(5,8,15,.82);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border-bottom-color: var(--line-2);
}
.hdr__in { display: flex; align-items: center; gap: 28px; height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand__mk { width: 32px; height: 32px; flex: none; }
.brand__tx { line-height: 1.15; }
/* Both are <span>: they must be made block or the lockup runs together as
   one wrapping paragraph instead of stacking name over descriptor. */
.brand__nm { display: block; font-size: 13.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; }
.brand__sb { display: block; font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: var(--mute-2); white-space: nowrap; }
@media (max-width: 420px) {
  .brand__nm { font-size: 11.5px; letter-spacing: .12em; }
  .brand__sb { font-size: 8px; letter-spacing: .14em; }
}

.nav { display: flex; align-items: center; gap: 22px; }
.nav a {
  font-size: 11.5px; font-weight: 500; letter-spacing: .13em; text-transform: uppercase;
  color: var(--mute); transition: color .3s; position: relative; padding-block: 6px;
  white-space: nowrap;   /* "AI ASSESSMENT" must never break across two lines */
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--teal); transition: width .35s var(--ease);
}
.nav a:hover { color: var(--white); }
.nav a:hover::after, .nav a[aria-current="page"]::after { width: 100%; }
.nav a[aria-current="page"] { color: var(--white); }

.burger { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px; background: transparent; cursor: pointer; align-items: center; justify-content: center; }
.burger span { display: block; width: 17px; height: 1.5px; background: var(--white); position: relative; transition: background .2s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 17px; height: 1.5px; background: var(--white); transition: transform .3s var(--ease); }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1080px) {
  .burger { display: inline-flex; }
  .nav {
    position: fixed; inset: 74px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(5,8,15,.97); backdrop-filter: blur(22px);
    border-bottom: 1px solid var(--line);
    padding: 10px var(--gut) 26px;
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: opacity .3s, transform .3s var(--ease);
    max-height: calc(100vh - 74px); overflow-y: auto;
  }
  .nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav a { padding-block: 15px; border-bottom: 1px solid var(--line-2); font-size: 12.5px; }
  .nav .btn { margin-top: 18px; }
  .hdr__cta-desktop { display: none; }
}
@media (min-width: 1081px) { .nav .btn { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding-block: 120px 80px; overflow: hidden; }
#neural { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: .9; }
.hero__veil {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(120% 90% at 78% 42%, rgba(59,224,206,.10), transparent 55%),
    radial-gradient(90% 70% at 12% 78%, rgba(227,184,92,.09), transparent 60%),
    linear-gradient(180deg, rgba(5,8,15,.72) 0%, rgba(5,8,15,.30) 42%, rgba(5,8,15,.96) 100%);
}
.hero__in { position: relative; z-index: 2; width: 100%; }
.hero__cols { display: grid; grid-template-columns: 1.28fr .72fr; gap: clamp(30px, 5vw, 76px); align-items: center; }
@media (max-width: 980px) { .hero__cols { grid-template-columns: 1fr; } }

.hero h1 { max-width: 15ch; }
.hero h1 .ln { display: block; overflow: hidden; }
.hero h1 .ln > i {
  display: block; font-style: normal;
  transform: translateY(105%); opacity: 0;
  animation: riseIn 1.05s var(--ease) forwards;
}
.hero h1 .ln:nth-child(1) > i { animation-delay: .18s; }
.hero h1 .ln:nth-child(2) > i { animation-delay: .30s; }
.hero h1 .ln:nth-child(3) > i { animation-delay: .42s; }
@keyframes riseIn { to { transform: none; opacity: 1; } }

.fade-up { opacity: 0; transform: translateY(16px); animation: fadeUp .9s var(--ease) forwards; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero__tags {
  margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line-2);
  display: flex; flex-wrap: wrap; gap: 8px 26px;
  font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--mute-2);
}
.hero__tags span { display: flex; align-items: center; gap: 26px; }
.hero__tags span::after { content: ""; width: 3px; height: 3px; border-radius: 50%; background: var(--gold); opacity: .6; }
.hero__tags span:last-child::after { display: none; }

/* Executive profile card */
.profile { position: relative; }
.profile__frame {
  position: relative; border-radius: 18px; overflow: hidden;
  border: 1px solid rgba(59,224,206,.24);
  background: linear-gradient(165deg, rgba(22,35,63,.9), rgba(10,16,32,.75));
  aspect-ratio: 4/5;
  box-shadow: 0 40px 90px -40px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.06);
}
.profile__frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.profile__ph { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; text-align: center; padding: 24px; }
.profile__ph svg { opacity: .5; }
.profile__scan {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, rgba(59,224,206,.16) 48%, transparent 52%);
  background-size: 100% 300%;
  animation: scan 6.5s linear infinite; mix-blend-mode: screen;
}
@keyframes scan { 0% { background-position: 0 -50%; } 100% { background-position: 0 250%; } }
.profile__corner { position: absolute; width: 26px; height: 26px; border: 1px solid var(--teal); opacity: .8; }
.profile__corner.tl { top: 12px; left: 12px; border-right: 0; border-bottom: 0; }
.profile__corner.tr { top: 12px; right: 12px; border-left: 0; border-bottom: 0; }
.profile__corner.bl { bottom: 12px; left: 12px; border-right: 0; border-top: 0; }
.profile__corner.br { bottom: 12px; right: 12px; border-left: 0; border-top: 0; }

.profile__meta {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 20px 18px 16px;
  background: linear-gradient(0deg, rgba(5,8,15,.95), transparent);
  display: flex; align-items: flex-end; justify-content: space-between; gap: 12px;
}
.profile__nm { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.profile__rl { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--teal); }
.pulse-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); flex: none; box-shadow: 0 0 0 0 rgba(59,224,206,.6); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 11px rgba(59,224,206,0); } 100% { box-shadow: 0 0 0 0 rgba(59,224,206,0); } }

.scrollcue {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 9px;
  font-size: 9.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--mute-2);
}
.scrollcue i { display: block; width: 1px; height: 42px; background: linear-gradient(180deg, var(--gold), transparent); }
@media (max-width: 980px) { .scrollcue { display: none; } }

/* ---------- Reveal on scroll ---------- */
[data-rv] { opacity: 0; transform: translateY(22px); transition: opacity .85s var(--ease), transform .85s var(--ease); }
[data-rv].rv-in { opacity: 1; transform: none; }
[data-rv-d="1"] { transition-delay: .09s; }
[data-rv-d="2"] { transition-delay: .18s; }
[data-rv-d="3"] { transition-delay: .27s; }
[data-rv-d="4"] { transition-delay: .36s; }
[data-rv-d="5"] { transition-delay: .45s; }

/* ---------- Numbered process ---------- */
.step { display: grid; grid-template-columns: 78px 1fr; gap: 20px; padding-block: 26px; border-top: 1px solid var(--line-2); align-items: start; }
.step__n { font-family: var(--display); font-size: 34px; color: var(--gold); opacity: .85; line-height: 1; }
.step:hover .step__n { opacity: 1; }

/* ---------- Engine cards ---------- */
.engine { padding: 30px; display: flex; flex-direction: column; min-height: 100%; }
.engine__ic { width: 44px; height: 44px; margin-bottom: 22px; color: var(--teal); }
.engine ul { list-style: none; margin: 18px 0 24px; padding: 0; display: grid; gap: 9px; }
.engine li { font-size: 14px; color: var(--mute); display: flex; gap: 10px; align-items: baseline; }
.engine li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--teal); flex: none; opacity: .7; transform: translateY(-2px); }
.engine .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Before / After ---------- */
.ba { display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(16px, 3vw, 42px); align-items: stretch; }
@media (max-width: 900px) { .ba { grid-template-columns: 1fr; } .ba__mid { transform: rotate(90deg); margin-block: 8px; } }
.ba__col { padding: 30px; border-radius: var(--r); border: 1px solid var(--line); }
.ba__col--b { background: linear-gradient(170deg, rgba(120,40,40,.14), rgba(255,255,255,.012)); border-color: rgba(220,120,110,.20); }
.ba__col--a { background: linear-gradient(170deg, rgba(59,224,206,.12), rgba(227,184,92,.05)); border-color: rgba(59,224,206,.30); }
.ba__lbl { font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; margin-bottom: 22px; }
.ba__col--b .ba__lbl { color: #E8A29A; }
.ba__col--a .ba__lbl { color: var(--teal); }
.flow { list-style: none; margin: 0; padding: 0; }
.flow li { position: relative; padding: 0 0 30px 28px; font-size: 14.5px; }
.flow li:last-child { padding-bottom: 0; }
.flow li::before { content: ""; position: absolute; left: 4px; top: 8px; width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .55; }
.flow li::after { content: ""; position: absolute; left: 7px; top: 18px; bottom: 4px; width: 1px; background: linear-gradient(180deg, currentColor, transparent); opacity: .3; }
.flow li:last-child::after { display: none; }
.flow--b { color: #E8A29A; }
.flow--a { color: var(--teal); }
.flow li b { color: var(--white); font-weight: 500; }
.flow li.term b { color: var(--gold); font-weight: 600; letter-spacing: .04em; }
.ba__mid { display: grid; place-content: center; color: var(--gold); }

/* ---------- Stat / metric ---------- */
.metric { padding: 26px; }
.metric__v { font-family: var(--display); font-size: clamp(34px, 4vw, 50px); line-height: 1; color: var(--gold); }
.metric__l { font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--mute-2); margin-top: 12px; }

/* ---------- Forms ---------- */
.field { display: block; margin-bottom: 18px; }
.field > span { display: block; font-size: 10.5px; letter-spacing: .17em; text-transform: uppercase; color: var(--mute-2); margin-bottom: 9px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px;
  background: rgba(255,255,255,.035); border: 1px solid var(--line);
  border-radius: 10px; color: var(--white); font-size: 15px;
  transition: border-color .3s, background .3s;
}
.field textarea { min-height: 118px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: rgba(59,224,206,.55); background: rgba(59,224,206,.06);
}
.field input::placeholder, .field textarea::placeholder { color: var(--mute-2); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239AA9C0' stroke-width='1.4' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 11px; padding-right: 40px; }
.field select option { background: var(--navy-2); color: var(--white); }
.field.err input, .field.err select, .field.err textarea { border-color: rgba(230,120,110,.7); }
.field__err { display: none; font-size: 12px; color: #E8A29A; margin-top: 7px; letter-spacing: 0; text-transform: none; }
.field.err .field__err { display: block; }

/* ---------- Footer ---------- */
.ftr { border-top: 1px solid var(--line-2); padding-block: 60px 40px; background: linear-gradient(180deg, transparent, rgba(10,16,32,.6)); }
.ftr__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
@media (max-width: 800px) { .ftr__grid { grid-template-columns: 1fr; } }
.ftr h4 { font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--mute-2); margin-bottom: 16px; font-weight: 500; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.ftr ul a { font-size: 14px; color: var(--mute); transition: color .25s; }
.ftr ul a:hover { color: var(--teal); }
.ftr__base { margin-top: 46px; padding-top: 24px; border-top: 1px solid var(--line-2); display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; }

/* ---------- Utilities ---------- */
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 200; padding: 12px 18px; background: var(--gold); color: #1A1204; border-radius: 0 0 8px 0; }
.skip:focus { left: 0; }
.center { text-align: center; }
.mt0 { margin-top: 0; } .mt8 { margin-top: 8px; } .mt14 { margin-top: 14px; } .mt22 { margin-top: 22px; }
.mt32 { margin-top: 32px; } .mt48 { margin-top: 48px; } .mb0 { margin-bottom: 0; }
.stack > * + * { margin-top: 18px; }
.row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.bar-note { font-size: 11.5px; color: var(--mute-2); letter-spacing: .02em; }

.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line);
  font-size: 11px; letter-spacing: .13em; text-transform: uppercase; color: var(--mute);
  background: rgba(255,255,255,.025);
}
.chip--gold { border-color: rgba(227,184,92,.34); color: var(--gold); background: rgba(227,184,92,.07); }
.chip--teal { border-color: rgba(59,224,206,.34); color: var(--teal); background: rgba(59,224,206,.07); }

.note {
  border-left: 2px solid var(--gold); padding: 4px 0 4px 16px;
  font-size: 12.5px; color: var(--mute-2); line-height: 1.6;
}
