:root {
  --ink: #0a1628;
  --ink-2: #12233a;
  --ink-3: #1a314d;
  --brass: #c9a66b;
  --brass-2: #a8844a;
  --mist: #e8eef4;
  --paper: #f5f8fb;
  --white: #ffffff;
  --slate: #5b6b7c;
  --line: rgba(10, 22, 40, 0.1);
  --shadow: 0 24px 60px rgba(10, 22, 40, 0.12);
  --radius: 18px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --nav-h: 78px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 550;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

.container-ha {
  width: min(1180px, calc(100% - 2.5rem));
  margin-inline: auto;
}

/* ---------- Top bar / Nav ---------- */
.ha-topbar {
  background: var(--ink);
  color: rgba(255,255,255,0.78);
  font-size: 0.82rem;
  padding: 0.45rem 0;
}
.ha-topbar .container-ha {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}
.ha-topbar a:hover { color: var(--brass); }
.ha-topbar .sep { opacity: 0.35; margin: 0 0.55rem; }

.ha-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(245, 248, 251, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  height: var(--nav-h);
}
.ha-nav .container-ha {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.ha-brand {
  display: flex; align-items: center; gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
}
.ha-brand-mark {
  width: 42px; height: 42px; border-radius: 12px;
  background: linear-gradient(145deg, var(--ink), var(--ink-3));
  color: var(--brass);
  display: grid; place-items: center;
  font-weight: 700; font-size: 0.95rem;
  box-shadow: inset 0 0 0 1px rgba(201,166,107,0.35);
}
.ha-brand small {
  display: block; font-family: var(--font-body);
  font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--slate); font-weight: 600; margin-top: 0.1rem;
}
.ha-menu {
  display: flex; align-items: center; gap: 0.15rem;
}
.ha-menu > a, .ha-drop > summary {
  padding: 0.55rem 0.8rem;
  font-size: 0.92rem; font-weight: 600;
  color: var(--ink-2);
  border-radius: 999px;
  cursor: pointer;
  list-style: none;
}
.ha-menu > a:hover, .ha-drop > summary:hover,
.ha-menu > a.active { color: var(--brass-2); background: rgba(201,166,107,0.12); }
.ha-drop { position: relative; }
.ha-drop > summary::-webkit-details-marker { display: none; }
.ha-drop[open] > summary { color: var(--brass-2); background: rgba(201,166,107,0.12); }
.ha-drop-panel {
  position: absolute; top: calc(100% + 0.6rem); left: 0;
  min-width: 260px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 0.55rem;
  animation: rise 0.35s var(--ease);
}
.ha-drop-panel a {
  display: block; padding: 0.7rem 0.85rem; border-radius: 10px;
  font-size: 0.9rem; font-weight: 600;
}
.ha-drop-panel a span {
  display: block; font-size: 0.75rem; font-weight: 500; color: var(--slate); margin-top: 0.15rem;
}
.ha-drop-panel a:hover { background: var(--mist); }
.ha-nav-cta { margin-left: 0.5rem; }
.ha-burger {
  display: none; border: 0; background: transparent; width: 42px; height: 42px;
  border-radius: 10px; cursor: pointer;
}
.ha-burger span {
  display: block; height: 2px; background: var(--ink); margin: 6px 8px;
  transition: 0.25s var(--ease);
}

/* ---------- Buttons ---------- */
.btn-ha {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-weight: 700; font-size: 0.92rem;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s, box-shadow 0.25s;
  cursor: pointer;
}
.btn-ha:hover { transform: translateY(-2px); }
.btn-ha-primary {
  background: linear-gradient(135deg, var(--brass), var(--brass-2));
  color: var(--ink);
  box-shadow: 0 12px 28px rgba(168,132,74,0.28);
}
.btn-ha-primary:hover { box-shadow: 0 16px 36px rgba(168,132,74,0.38); }
.btn-ha-ghost {
  background: transparent; color: var(--white);
  border-color: rgba(255,255,255,0.35);
}
.btn-ha-ghost:hover { background: rgba(255,255,255,0.08); }
.btn-ha-outline {
  background: transparent; color: var(--ink);
  border-color: rgba(10,22,40,0.18);
}
.btn-ha-outline:hover { border-color: var(--brass-2); color: var(--brass-2); }
.btn-ha-dark {
  background: var(--ink); color: var(--white);
}
.btn-ha-dark:hover { background: var(--ink-3); }

/* ---------- Hero ---------- */
.ha-hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: grid; align-items: end;
  color: var(--white);
  overflow: hidden;
  background: var(--ink);
}
.ha-hero-media {
  position: absolute; inset: 0;
}
.ha-hero-media img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.04);
  animation: kenburns 22s ease-in-out infinite alternate;
}
.ha-hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10,22,40,0.92) 0%, rgba(10,22,40,0.72) 48%, rgba(10,22,40,0.35) 100%),
    linear-gradient(0deg, rgba(10,22,40,0.75) 0%, transparent 45%);
}
.ha-hero-body {
  position: relative; z-index: 1;
  padding: 7rem 0 4.5rem;
  max-width: 720px;
}
.ha-kicker {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--brass);
  margin-bottom: 1.1rem;
}
.ha-kicker::before {
  content: ""; width: 28px; height: 1px; background: var(--brass);
}
.ha-hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  margin-bottom: 1.1rem;
  color: #fff;
}
.ha-hero h1 em {
  font-style: italic; color: var(--brass); font-weight: 500;
}
.ha-hero p.lead {
  font-size: 1.08rem; color: rgba(255,255,255,0.78);
  max-width: 540px; margin-bottom: 1.8rem;
}
.ha-hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-bottom: 2.5rem; }
.ha-hero-stats {
  display: grid; grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 1rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.ha-hero-stats strong {
  display: block; font-family: var(--font-display);
  font-size: 1.7rem; color: var(--brass); font-weight: 550;
}
.ha-hero-stats span { font-size: 0.78rem; color: rgba(255,255,255,0.62); }

/* ---------- Sections ---------- */
.ha-section { padding: 5.5rem 0; }
.ha-section-sm { padding: 3.5rem 0; }
.ha-section-ink { background: var(--ink); color: var(--white); }
.ha-section-mist { background: var(--mist); }
.ha-section-head {
  display: grid; gap: 0.85rem;
  margin-bottom: 2.5rem;
  max-width: 680px;
}
.ha-section-head.center { margin-inline: auto; text-align: center; }
.ha-section-head h2 { font-size: clamp(1.9rem, 3.2vw, 2.7rem); }
.ha-section-head p { color: var(--slate); margin: 0; font-size: 1.02rem; }
.ha-section-ink .ha-section-head p { color: rgba(255,255,255,0.68); }

.ha-grid-2 { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3rem; align-items: center; }
.ha-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.35rem; }
.ha-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.ha-grid-services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }

/* ---------- Media frame ---------- */
.ha-media {
  position: relative; border-radius: calc(var(--radius) + 4px); overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
}
.ha-media img { width: 100%; height: 100%; object-fit: cover; }
.ha-media-badge {
  position: absolute; left: 1.1rem; bottom: 1.1rem;
  background: rgba(10,22,40,0.88); color: #fff;
  padding: 0.85rem 1.1rem; border-radius: 14px;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(201,166,107,0.35);
}
.ha-media-badge strong {
  display: block; font-family: var(--font-display); font-size: 1.45rem; color: var(--brass);
}
.ha-media-badge span { font-size: 0.78rem; opacity: 0.75; }

/* ---------- Cards ---------- */
.ha-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
  height: 100%;
}
.ha-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(201,166,107,0.45);
}
.ha-card-icon {
  width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center;
  background: linear-gradient(145deg, rgba(201,166,107,0.22), rgba(201,166,107,0.08));
  color: var(--brass-2); font-size: 1.15rem; margin-bottom: 1rem;
}
.ha-card h3 { font-size: 1.25rem; margin-bottom: 0.55rem; }
.ha-card p { color: var(--slate); margin: 0 0 1rem; font-size: 0.95rem; }
.ha-card .more {
  font-weight: 700; font-size: 0.88rem; color: var(--brass-2);
  display: inline-flex; align-items: center; gap: 0.35rem;
}
.ha-card-img {
  border-radius: 14px; overflow: hidden; margin: -0.35rem -0.35rem 1.1rem;
  aspect-ratio: 16 / 10;
}
.ha-card-img img { width: 100%; height: 100%; object-fit: cover; }

.ha-service-tile {
  display: grid; grid-template-columns: 120px 1fr; gap: 1.2rem;
  align-items: stretch;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}
.ha-service-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.ha-service-tile figure {
  margin: 0; background: var(--ink-2);
}
.ha-service-tile figure img { width: 100%; height: 100%; object-fit: cover; min-height: 150px; }
.ha-service-tile .body { padding: 1.25rem 1.25rem 1.25rem 0; }
.ha-service-tile h3 { font-size: 1.2rem; }
.ha-service-tile p { color: var(--slate); font-size: 0.92rem; margin: 0 0 0.7rem; }

/* ---------- Process / lists ---------- */
.ha-steps {
  counter-reset: step;
  display: grid; gap: 1rem;
}
.ha-steps li {
  display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start;
  padding: 1.1rem 1.2rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
}
.ha-steps li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  color: var(--brass); font-size: 1.35rem;
}
.ha-check { display: grid; gap: 0.65rem; }
.ha-check li {
  display: grid; grid-template-columns: 22px 1fr; gap: 0.65rem;
  color: var(--ink-2); font-size: 0.95rem;
}
.ha-check li i { color: var(--brass-2); margin-top: 0.25rem; }
.ha-section-ink .ha-check li { color: rgba(255,255,255,0.82); }

/* ---------- Page hero ---------- */
.ha-page-hero {
  position: relative; color: #fff; overflow: hidden;
  background: var(--ink);
  padding: 5.5rem 0 4rem;
}
.ha-page-hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 85% 20%, rgba(201,166,107,0.18), transparent 40%),
    linear-gradient(120deg, rgba(10,22,40,0.92), rgba(10,22,40,0.7)),
    var(--hero-img, none) center/cover no-repeat;
  opacity: 1;
}
.ha-page-hero .container-ha { position: relative; z-index: 1; max-width: 760px; }
.ha-page-hero h1 { font-size: clamp(2.1rem, 4vw, 3.2rem); color: #fff; }
.ha-page-hero p { color: rgba(255,255,255,0.74); font-size: 1.05rem; max-width: 560px; }
.ha-breadcrumb {
  display: flex; flex-wrap: wrap; gap: 0.45rem; align-items: center;
  font-size: 0.82rem; color: rgba(255,255,255,0.55); margin-bottom: 1rem;
}
.ha-breadcrumb a:hover { color: var(--brass); }
.ha-breadcrumb .current { color: var(--brass); }

/* ---------- Team ---------- */
.ha-team-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); height: 100%;
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}
.ha-team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.ha-team-card figure { margin: 0; aspect-ratio: 4/5; overflow: hidden; background: var(--ink-2); }
.ha-team-card figure img { width: 100%; height: 100%; object-fit: cover; }
.ha-team-card .body { padding: 1.2rem 1.3rem 1.4rem; }
.ha-team-card h3 { font-size: 1.2rem; margin-bottom: 0.2rem; }
.ha-team-card .role { color: var(--brass-2); font-weight: 700; font-size: 0.85rem; margin-bottom: 0.55rem; }
.ha-team-card p { color: var(--slate); font-size: 0.9rem; margin: 0; }

/* ---------- Testimonials ---------- */
.ha-quote {
  background: var(--white); border-radius: var(--radius);
  padding: 1.6rem; border: 1px solid var(--line); height: 100%;
}
.ha-quote p {
  font-family: var(--font-display); font-size: 1.15rem; line-height: 1.45;
  margin-bottom: 1.2rem; color: var(--ink);
}
.ha-quote footer {
  display: flex; gap: 0.8rem; align-items: center; color: var(--slate); font-size: 0.88rem;
}
.ha-quote footer img {
  width: 44px; height: 44px; border-radius: 50%; object-fit: cover;
}
.ha-quote strong { display: block; color: var(--ink); font-size: 0.95rem; }

/* ---------- CTA band ---------- */
.ha-cta {
  position: relative; overflow: hidden;
  border-radius: calc(var(--radius) + 8px);
  background: linear-gradient(125deg, var(--ink) 0%, var(--ink-3) 55%, #2a4a3a 100%);
  color: #fff; padding: 3rem;
  display: grid; grid-template-columns: 1.4fr auto; gap: 1.5rem; align-items: center;
}
.ha-cta h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.3rem); }
.ha-cta p { color: rgba(255,255,255,0.72); margin: 0.5rem 0 0; max-width: 520px; }
.ha-cta::after {
  content: ""; position: absolute; right: -40px; top: -40px;
  width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201,166,107,0.28), transparent 70%);
}

/* ---------- Forms ---------- */
.ha-form {
  background: var(--white); border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px); padding: 1.8rem;
  box-shadow: var(--shadow);
}
.ha-form .row-ha { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.ha-field { margin-bottom: 1rem; }
.ha-field label {
  display: block; font-size: 0.82rem; font-weight: 700;
  margin-bottom: 0.4rem; color: var(--ink-2);
}
.ha-field input, .ha-field select, .ha-field textarea {
  width: 100%; border: 1px solid rgba(10,22,40,0.14);
  border-radius: 12px; padding: 0.8rem 0.95rem;
  font: inherit; background: var(--paper); color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.ha-field input:focus, .ha-field select:focus, .ha-field textarea:focus {
  outline: none; border-color: var(--brass);
  box-shadow: 0 0 0 3px rgba(201,166,107,0.22);
  background: #fff;
}
.ha-field textarea { min-height: 130px; resize: vertical; }
.ha-honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; overflow: hidden; }
.ha-alert {
  padding: 0.9rem 1rem; border-radius: 12px; margin-bottom: 1rem;
  font-size: 0.92rem; font-weight: 600;
}
.ha-alert-ok { background: #e8f7ef; color: #0f6b3d; border: 1px solid #b9e4cb; }
.ha-alert-err { background: #fdeeee; color: #9b1c1c; border: 1px solid #f3c1c1; }

/* ---------- Insights ---------- */
.ha-article-meta {
  display: flex; flex-wrap: wrap; gap: 0.8rem;
  font-size: 0.82rem; color: var(--slate); margin-bottom: 1rem;
}
.ha-prose { max-width: 760px; }
.ha-prose h2 { margin-top: 2rem; font-size: 1.6rem; }
.ha-prose h3 { margin-top: 1.5rem; font-size: 1.25rem; }
.ha-prose p, .ha-prose li { color: var(--slate); }
.ha-prose ul { list-style: disc; padding-left: 1.2rem; margin: 0.8rem 0 1.2rem; display: grid; gap: 0.4rem; }
.ha-prose ol { list-style: decimal; padding-left: 1.2rem; margin: 0.8rem 0 1.2rem; display: grid; gap: 0.4rem; color: var(--slate); }

/* ---------- Footer ---------- */
.ha-footer {
  background: var(--ink); color: rgba(255,255,255,0.72); padding: 4rem 0 1.5rem;
}
.ha-footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 2rem;
  margin-bottom: 2.5rem;
}
.ha-footer h4 {
  color: #fff; font-size: 1rem; font-family: var(--font-body);
  letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700;
  margin-bottom: 1rem;
}
.ha-footer a:hover { color: var(--brass); }
.ha-footer .brand-blurb { margin-top: 0.9rem; font-size: 0.92rem; max-width: 320px; }
.ha-footer ul { display: grid; gap: 0.55rem; font-size: 0.92rem; }
.ha-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.2rem;
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: 0.82rem;
}
.ha-social { display: flex; gap: 0.55rem; margin-top: 1.1rem; }
.ha-social a {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,0.16);
  transition: 0.25s;
}
.ha-social a:hover { background: var(--brass); color: var(--ink); border-color: var(--brass); }

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

@keyframes kenburns {
  from { transform: scale(1.04) translate(0,0); }
  to { transform: scale(1.12) translate(-1.5%, -1%); }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
  .ha-grid-2, .ha-grid-3, .ha-grid-4, .ha-grid-services,
  .ha-footer-grid, .ha-cta, .ha-form .row-ha, .ha-service-tile {
    grid-template-columns: 1fr;
  }
  .ha-hero-stats { grid-template-columns: repeat(2, 1fr); }
  .ha-burger { display: block; }
  .ha-menu {
    display: none; position: absolute; left: 0; right: 0; top: var(--nav-h);
    background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; padding: 0.8rem;
    box-shadow: var(--shadow);
  }
  .ha-nav.open .ha-menu { display: flex; }
  .ha-drop-panel { position: static; box-shadow: none; border: 0; padding: 0.2rem 0.4rem 0.6rem; }
  .ha-nav-cta { margin: 0.4rem 0.5rem 0.8rem; }
  .ha-service-tile figure { min-height: 180px; }
}

@media (max-width: 640px) {
  .ha-topbar { display: none; }
  .ha-hero-body { padding-top: 5rem; }
  .ha-section { padding: 3.8rem 0; }
  .ha-cta { padding: 2rem; }
}
