/* HFAI Marketing Website kit — clean + lively refresh */
@import url("colors_and_type.css");

* { box-sizing: border-box; }
body { margin: 0; }

/* ==========================================================================
   Header
   ========================================================================== */
.hfai-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hfai-line);
}
.hfai-header__inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 32px;
}
.hfai-header img { height: 40px; }
.hfai-nav { display: flex; gap: 32px; align-items: center; }
.hfai-nav a {
  font-family: var(--font-display); font-size: 13px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--hfai-navy); text-decoration: none;
  position: relative;
  padding: 4px 0;
  transition: color var(--t-fast) var(--ease-out);
}
.hfai-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 100%; height: 2px; background: var(--hfai-teal);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--t-base) var(--ease-out);
}
.hfai-nav a:hover { color: var(--hfai-teal-deep); }
.hfai-nav a:hover::after { transform: scaleX(1); }
.hfai-nav a.active { color: var(--hfai-teal-deep); }
.hfai-nav a.active::after { transform: scaleX(1); }
.hfai-nav .hfai-cta-mini {
  font-family: var(--font-display); font-weight: 500;
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 10px 18px; border-radius: 999px;
  background: var(--hfai-navy); color: #fff; text-decoration: none;
  transition: background var(--t-fast) var(--ease-out);
}
.hfai-nav .hfai-cta-mini:hover { background: var(--hfai-teal-deep); }
.hfai-nav .hfai-cta-mini::after { display: none; }

/* ==========================================================================
   Hero — asymmetric, lively
   ========================================================================== */
.hfai-hero {
  position: relative; overflow: hidden;
  padding: 96px 32px 120px;
  background:
    radial-gradient(60% 80% at 100% 0%, var(--hfai-teal-pale) 0%, transparent 60%),
    radial-gradient(50% 60% at 0% 100%, var(--hfai-mist) 0%, transparent 60%),
    #FFFFFF;
}
.hfai-hero::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg,
    var(--hfai-teal) 0%, var(--hfai-teal) 30%,
    var(--hfai-navy) 30%, var(--hfai-navy) 75%,
    var(--hfai-slate-pale) 75%);
}
.hfai-hero__inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 64px;
  align-items: center;
}
.hfai-hero__copy { max-width: 640px; }
.hfai-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(48px, 5.6vw, 80px); font-weight: 300;
  line-height: 1.02; letter-spacing: 0.02em;
  color: var(--hfai-navy);
  margin: 22px 0 24px;
  text-wrap: balance;
}
.hfai-hero h1 .accent {
  font-weight: 400;
  font-style: italic;
  font-family: var(--font-display);
  color: var(--hfai-teal-deep);
  position: relative;
  letter-spacing: -0.01em;
}
.hfai-hero h1 .accent::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px;
  height: 8px; background: var(--hfai-teal-pale); z-index: -1;
  border-radius: 4px;
}
.hfai-hero h4 {
  font-family: var(--font-display); font-weight: 400;
  font-size: 20px; letter-spacing: 0.02em; line-height: 1.4;
  color: var(--hfai-navy); margin: 0 0 16px;
}
.hfai-hero p {
  font-size: 17px; line-height: 1.65; color: var(--hfai-slate);
  margin: 0 0 36px;
}
.hfai-hero__row { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.hfai-hero__meta {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12px; color: var(--hfai-slate);
}

/* Hero collage on right */
.hfai-hero__collage {
  position: relative; height: 520px;
}
.hfai-hero__collage .card {
  position: absolute;
  background: #fff;
  border: 1px solid var(--hfai-line);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(48,64,80,0.10);
  overflow: hidden;
}
.hfai-hero__collage .photo {
  top: 0; right: 0; width: 80%; height: 70%;
  background-image: linear-gradient(135deg, var(--hfai-navy), var(--hfai-teal-deep));
  display: flex; align-items: flex-end; padding: 24px;
}
.hfai-hero__collage .photo svg {
  width: 100%; height: auto; opacity: 0.18;
}
.hfai-hero__collage .photo .label {
  position: absolute; top: 24px; left: 24px;
  font-family: var(--font-display); font-weight: 600; font-size: 11px;
  letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.7);
}
.hfai-hero__collage .stat {
  bottom: 0; left: 0; width: 280px; padding: 22px 26px;
  background: #fff;
}
.hfai-hero__collage .stat .num {
  font-family: var(--font-display); font-weight: 200;
  font-size: 64px; line-height: 1; color: var(--hfai-navy);
  letter-spacing: 0.01em;
}
.hfai-hero__collage .stat .lab {
  font-size: 13px; color: var(--hfai-slate); margin-top: 4px;
}
.hfai-hero__collage .badge {
  top: 30px; left: -10px; padding: 10px 16px;
  background: var(--hfai-teal); color: #fff;
  border-radius: 999px; font-family: var(--font-display);
  font-weight: 600; font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase;
  box-shadow: 0 8px 20px rgba(63,140,140,0.30);
}

/* ==========================================================================
   CTA pill — with arrow that slides on hover
   ========================================================================== */
.hfai-cta {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 500;
  font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 16px 28px; border-radius: 999px;
  border: 1px solid var(--hfai-navy); background: var(--hfai-navy);
  color: #fff; text-decoration: none; cursor: pointer;
  transition: background var(--t-base) var(--ease-out),
              transform var(--t-fast) var(--ease-out),
              box-shadow var(--t-base) var(--ease-out);
}
.hfai-cta .arrow {
  display: inline-block; transition: transform var(--t-base) var(--ease-out);
}
.hfai-cta:hover {
  background: var(--hfai-teal-deep);
  border-color: var(--hfai-teal-deep);
  color: #fff;
  box-shadow: 0 12px 28px rgba(63,140,140,0.25);
}
.hfai-cta:hover .arrow { transform: translateX(4px); }
.hfai-cta:active { transform: translateY(1px); }
.hfai-cta--ghost {
  background: transparent; color: var(--hfai-navy);
  border-color: var(--hfai-slate-pale);
}
.hfai-cta--ghost:hover {
  background: transparent; color: var(--hfai-teal-deep);
  border-color: var(--hfai-teal-deep);
  box-shadow: none;
}

/* ==========================================================================
   Section
   ========================================================================== */
.hfai-section { padding: 112px 32px; position: relative; }
.hfai-section--cream { background: var(--hfai-cream); }
.hfai-section--mist  { background: var(--hfai-mist); }
.hfai-section--dots  {
  background-image: radial-gradient(var(--hfai-slate-pale) 1px, transparent 1px);
  background-size: 32px 32px;
  background-color: var(--hfai-haze, #F4F6F9);
}
.hfai-section__inner { max-width: 1100px; margin: 0 auto; position: relative; }
.hfai-section__head { max-width: 760px; margin: 0 auto 64px; text-align: center; }
.hfai-section__head .chip {
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 18px;
  padding: 6px 14px 6px 12px;
  font-family: var(--font-display); font-weight: 600;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--hfai-teal-deep);
  background: var(--hfai-teal-pale);
  border-radius: 999px;
}
.hfai-section__head .chip::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--hfai-teal);
}
.hfai-section__head h2 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(32px, 3.8vw, 48px); letter-spacing: 0.02em;
  color: var(--hfai-navy); margin: 0 0 20px;
  line-height: 1.1; text-wrap: balance;
}
.hfai-section__head h2 em {
  font-style: italic; color: var(--hfai-teal-deep); font-weight: 400;
}
.hfai-section__head .rule-row {
  display: flex; align-items: center; justify-content: center;
  gap: 10px; margin: 0 auto 24px;
}
.hfai-section__head .rule-row::before,
.hfai-section__head .rule-row::after {
  content: ""; width: 30px; height: 1px; background: var(--hfai-slate-soft);
}
.hfai-section__head .rule-row span {
  width: 6px; height: 6px; border-radius: 50%; background: var(--hfai-teal);
}
.hfai-section__head p { font-size: 17px; line-height: 1.65; color: var(--hfai-slate); margin: 0; }

/* ==========================================================================
   Grids
   ========================================================================== */
.hfai-grid { display: grid; gap: 24px; }
.hfai-grid--2 { grid-template-columns: repeat(2, 1fr); }
.hfai-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 800px) {
  .hfai-grid--2, .hfai-grid--3 { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Cards
   ========================================================================== */
.hfai-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--hfai-line);
  border-radius: 16px;
  padding: 36px 30px 32px;
  text-align: left;
  overflow: hidden;
  transition: box-shadow var(--t-base) var(--ease-out),
              transform var(--t-base) var(--ease-out),
              border-color var(--t-base) var(--ease-out);
}
.hfai-card::before {
  content: ""; position: absolute; top: 0; left: 24px; right: 24px;
  height: 2px; background: var(--hfai-teal);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--t-slow) var(--ease-out);
}
.hfai-card:hover {
  box-shadow: 0 20px 40px rgba(48,64,80,0.08);
  transform: translateY(-3px);
  border-color: var(--hfai-teal-pale);
}
.hfai-card:hover::before { transform: scaleX(1); }
.hfai-card .icon-wrap {
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--hfai-teal-pale);
  color: var(--hfai-teal-deep);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  transition: background var(--t-base) var(--ease-out);
}
.hfai-card:hover .icon-wrap { background: var(--hfai-teal); color: #fff; }
.hfai-card .icon-wrap svg, .hfai-card .icon-wrap i { width: 26px; height: 26px; }
.hfai-card h4 {
  font-family: var(--font-display); font-weight: 500; font-size: 22px;
  letter-spacing: 0.01em; color: var(--hfai-navy); margin: 0 0 10px;
}
.hfai-card p {
  font-size: 15px; line-height: 1.65; color: var(--hfai-slate); margin: 0;
}

/* ==========================================================================
   Service card with bullets
   ========================================================================== */
.hfai-service {
  position: relative;
  background: #fff;
  border: 1px solid var(--hfai-line);
  border-radius: 16px;
  padding: 32px 30px;
  transition: box-shadow var(--t-base) var(--ease-out),
              transform var(--t-base) var(--ease-out);
}
.hfai-service:hover {
  box-shadow: 0 18px 36px rgba(48,64,80,0.08);
  transform: translateY(-2px);
}
.hfai-service .badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--hfai-navy); color: #fff;
  font-family: var(--font-display); font-weight: 500; font-size: 13px;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}
.hfai-service h3 {
  font-family: var(--font-display); font-weight: 400; font-size: 24px;
  letter-spacing: 0.01em; color: var(--hfai-navy); margin: 0 0 12px;
}
.hfai-service p {
  font-size: 15px; line-height: 1.65; color: var(--hfai-slate); margin: 0 0 20px;
}
.hfai-service ul { padding: 0; list-style: none; margin: 0; }
.hfai-service li {
  font-size: 14px; line-height: 1.5; color: var(--hfai-ink);
  padding: 10px 0 10px 26px; position: relative;
  border-top: 1px solid var(--hfai-line);
}
.hfai-service li:first-child { border-top: 0; }
.hfai-service li::before {
  content: ""; position: absolute; left: 0; top: 16px;
  width: 14px; height: 2px; background: var(--hfai-teal);
}

/* ==========================================================================
   Stat ring
   ========================================================================== */
.hfai-stat { text-align: center; padding: 8px; }
.hfai-stat .ring {
  position: relative; width: 180px; height: 180px; margin: 0 auto 22px;
}
.hfai-stat .ring svg { transform: rotate(-90deg); display: block; }
.hfai-stat .ring .pct {
  position: absolute; inset: 0; display: flex; align-items: center;
  justify-content: center; font-family: var(--font-display);
  font-weight: 300; font-size: 44px; color: var(--hfai-navy);
  letter-spacing: 0.02em;
}
.hfai-stat p { font-size: 15px; line-height: 1.55; color: var(--hfai-slate); margin: 0 auto 8px; max-width: 260px; }
.hfai-stat cite {
  font-family: var(--font-display); font-weight: 500;
  font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--hfai-slate-soft); font-style: normal;
}
.hfai-stat cite a { color: var(--hfai-slate-soft); text-decoration: none; }
.hfai-stat cite a:hover { color: var(--hfai-teal-deep); }

/* ==========================================================================
   Full-bleed CTA — teal accent gradient
   ========================================================================== */
.hfai-fullbleed {
  position: relative; padding: 140px 32px; text-align: center;
  background:
    radial-gradient(60% 80% at 80% 30%, rgba(63,140,140,0.45) 0%, transparent 60%),
    radial-gradient(50% 60% at 20% 70%, rgba(63,140,140,0.25) 0%, transparent 55%),
    linear-gradient(135deg, var(--hfai-navy-deep) 0%, var(--hfai-navy) 100%);
  color: #fff;
  overflow: hidden;
}
.hfai-fullbleed::before, .hfai-fullbleed::after {
  content: ""; position: absolute;
  border-radius: 50%; border: 1px solid rgba(255,255,255,0.08);
}
.hfai-fullbleed::before { top: -200px; right: -200px; width: 600px; height: 600px; }
.hfai-fullbleed::after  { bottom: -250px; left: -200px; width: 700px; height: 700px; }
.hfai-fullbleed .chip {
  display: inline-flex; gap: 8px; align-items: center;
  padding: 8px 16px; border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  font-family: var(--font-display); font-weight: 600;
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.92);
  margin-bottom: 24px;
}
.hfai-fullbleed .chip::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--hfai-teal-soft);
}
.hfai-fullbleed h2 {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(40px, 5vw, 64px); letter-spacing: 0.02em;
  color: #fff; max-width: 920px; margin: 0 auto 36px; line-height: 1.1;
}
.hfai-fullbleed h2 em {
  font-style: italic; color: var(--hfai-teal-soft); font-weight: 400;
}
.hfai-fullbleed .hfai-cta {
  background: var(--hfai-teal); color: #fff; border-color: var(--hfai-teal);
}
.hfai-fullbleed .hfai-cta:hover {
  background: #fff; color: var(--hfai-navy); border-color: #fff;
  box-shadow: 0 18px 40px rgba(0,0,0,0.25);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.hfai-footer {
  background: var(--hfai-navy);
  color: #C8D1DE;
  padding: 64px 32px 36px;
  text-align: center;
  position: relative;
}
.hfai-footer::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg,
    var(--hfai-teal) 0%, var(--hfai-teal) 25%,
    var(--hfai-slate-pale) 25%, var(--hfai-slate-pale) 28%,
    transparent 28%);
}
.hfai-footer__inner { max-width: 900px; margin: 0 auto; }
.hfai-footer img { height: 56px; margin-bottom: 24px; }
.hfai-footer p { font-size: 14px; line-height: 1.7; color: #C8D1DE; margin: 0 0 8px; }
.hfai-footer a { color: #fff; text-decoration: none; }
.hfai-footer a:hover { color: var(--hfai-teal-soft); }
.hfai-footer .links { display: flex; gap: 14px; justify-content: center; margin: 22px 0; }
.hfai-footer .links a {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18);
  display: flex; align-items: center; justify-content: center;
  color: #fff; transition: background var(--t-fast) var(--ease-out),
                            border-color var(--t-fast) var(--ease-out);
}
.hfai-footer .links a:hover {
  background: var(--hfai-teal); border-color: var(--hfai-teal);
}
.hfai-footer .copy {
  font-size: 12px; color: var(--hfai-slate-soft);
  margin-top: 28px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  letter-spacing: 0.04em;
}
