/* Haslam Consult — site-specific styles layered on top of the compiled Tailwind
   sheet (/_next/static/chunks/cc544d6d675ff4fc.css). Everything the compiled
   sheet already provides is reused; this file only adds what the static build
   needs: scroll reveals, nav menus, forms, and a few utilities that were not
   emitted by the original build. Prefix for custom classes: `hc-`. */

/* ---------- Reveal on scroll (progressive: no JS = everything visible) ---------- */
html.js .js-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s cubic-bezier(.4, 0, .2, 1), transform .6s cubic-bezier(.4, 0, .2, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
html.js .js-reveal.is-in { opacity: 1; transform: none; }
html.js .js-reveal[data-reveal="left"]  { transform: translateX(-20px); }
html.js .js-reveal[data-reveal="right"] { transform: translateX(20px); }
html.js .js-reveal[data-reveal="scale"] { transform: scale(.6); }
html.js .js-reveal[data-reveal="left"].is-in,
html.js .js-reveal[data-reveal="right"].is-in,
html.js .js-reveal[data-reveal="scale"].is-in { transform: none; }

/* Bars / meters that grow into view. JS sets the final inline size. */
html.js [data-grow] { transition: height .9s cubic-bezier(.4, 0, .2, 1), width .9s cubic-bezier(.4, 0, .2, 1), transform .9s cubic-bezier(.4, 0, .2, 1); }

@media (prefers-reduced-motion: reduce) {
  html.js .js-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  html.js [data-grow] { transition: none !important; }
}

/* ---------- Header navigation ---------- */
.hc-nav-item { position: relative; }
.hc-menu {
  position: absolute; top: calc(100% + 6px); left: 50%; transform: translateX(-50%) translateY(6px);
  min-width: 22rem; padding: .5rem;
  background: hsl(var(--background)); border: 1px solid hsl(var(--border)); border-radius: 16px;
  box-shadow: 0 20px 25px -5px rgba(0,0,0,.08), 0 8px 10px -6px rgba(0,0,0,.06);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .18s cubic-bezier(.4,0,.2,1), transform .18s cubic-bezier(.4,0,.2,1), visibility 0s linear .18s;
  z-index: 60;
}
.hc-menu.hc-menu-wide { min-width: 34rem; }
.hc-nav-item.is-open > .hc-menu,
.hc-nav-item:hover > .hc-menu,
.hc-nav-item:focus-within > .hc-menu {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0);
  transition-delay: 0s;
}
.hc-nav-item.is-open > button > svg,
.hc-nav-item:hover > button > svg { transform: rotate(180deg); }
.hc-menu-link {
  display: flex; gap: .75rem; align-items: flex-start; padding: .625rem .75rem; border-radius: 10px;
  transition: background-color .15s cubic-bezier(.4,0,.2,1);
}
.hc-menu-link:hover { background: rgb(245 245 245); }
.hc-menu-link .hc-menu-title { font-size: .875rem; font-weight: 500; color: hsl(var(--foreground)); line-height: 1.3; }
.hc-menu-link .hc-menu-desc { font-size: .75rem; color: rgb(115 115 115); line-height: 1.4; margin-top: .125rem; }
.hc-menu-icon {
  flex: none; width: 2rem; height: 2rem; border-radius: 8px; display: flex; align-items: center; justify-content: center;
  background: rgb(250 250 250); border: 1px solid rgb(240 240 240); color: hsl(var(--accent));
}
.hc-menu-icon svg { width: 1rem; height: 1rem; }
.hc-menu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .125rem; }
.hc-menu-foot {
  margin: .5rem -.5rem -.5rem; padding: .625rem 1.25rem; border-top: 1px solid rgb(240 240 240);
  background: rgb(250 250 250); border-radius: 0 0 16px 16px; font-size: .8125rem;
}

/* Mobile navigation sheet */
.hc-mobile-nav {
  position: fixed; inset: 4rem 0 0 0; z-index: 49; overflow-y: auto;
  background: hsl(var(--background)); border-top: 1px solid hsl(var(--border));
  padding: 1rem 1rem 2.5rem;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .2s cubic-bezier(.4,0,.2,1), transform .2s cubic-bezier(.4,0,.2,1), visibility 0s linear .2s;
}
.hc-mobile-nav.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
body.hc-nav-locked { overflow: hidden; }
.hc-mobile-group > summary { list-style: none; }
.hc-mobile-group > summary::-webkit-details-marker { display: none; }
.hc-mobile-group[open] > summary svg { transform: rotate(180deg); }
.hc-mobile-link {
  display: flex; align-items: center; justify-content: space-between; padding: .875rem .5rem;
  font-size: 1rem; font-weight: 500; color: hsl(var(--foreground)); border-radius: 8px;
}
.hc-mobile-link:hover { background: rgb(245 245 245); }
.hc-mobile-sub { display: flex; flex-direction: column; padding: 0 0 .5rem .5rem; }
.hc-mobile-sub a { padding: .625rem .75rem; font-size: .9375rem; color: rgb(82 82 82); border-radius: 8px; }
.hc-mobile-sub a:hover { background: rgb(245 245 245); color: hsl(var(--foreground)); }

/* ---------- Timeline (how it works) ---------- */
.hc-timeline-step.is-active .hc-step-badge {
  color: hsl(var(--accent)); border-color: hsl(var(--accent) / .6);
  box-shadow: 0 0 0 4px hsl(var(--accent) / .12);
}
.hc-step-badge { transition: color .3s, border-color .3s, box-shadow .3s; }
.hc-check-row { transition: opacity .4s cubic-bezier(.4,0,.2,1); }

/* ---------- Details / FAQ ---------- */
details.hc-faq > summary { list-style: none; }
details.hc-faq > summary::-webkit-details-marker { display: none; }
details.hc-faq > summary svg { transition: transform .2s cubic-bezier(.4,0,.2,1); }
details.hc-faq[open] > summary svg { transform: rotate(180deg); }
details.hc-faq[open] > summary { border-bottom: 1px solid rgb(240 240 240); }

/* ---------- Marquee (pure CSS) ---------- */
.hc-marquee { --gap: 2.5rem; --duration: 40s; display: flex; overflow: hidden; gap: var(--gap); user-select: none; }
.hc-marquee > .hc-marquee-track {
  flex: none; display: flex; align-items: center; gap: var(--gap); min-width: 100%;
  animation: hc-marquee var(--duration) linear infinite;
}
.hc-marquee:hover > .hc-marquee-track { animation-play-state: paused; }
@keyframes hc-marquee { from { transform: translateX(0); } to { transform: translateX(calc(-100% - var(--gap))); } }
@media (prefers-reduced-motion: reduce) { .hc-marquee > .hc-marquee-track { animation: none; } }

/* ---------- Forms ---------- */
.hc-label { display: block; font-size: .875rem; font-weight: 500; color: hsl(var(--foreground)); margin-bottom: .375rem; }
.hc-hint { font-size: .75rem; color: rgb(115 115 115); margin-top: .375rem; line-height: 1.4; }
.hc-input, .hc-select, .hc-textarea {
  width: 100%; border-radius: 12px; border: 1px solid hsl(var(--border)); background: hsl(var(--background));
  padding: .8125rem 1rem; font-size: .9375rem; color: hsl(var(--foreground)); line-height: 1.4;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
  transition: border-color .15s, box-shadow .15s;
}
.hc-input::placeholder, .hc-textarea::placeholder { color: rgb(163 163 163); }
.hc-input:focus, .hc-select:focus, .hc-textarea:focus {
  outline: none; border-color: hsl(var(--accent)); box-shadow: 0 0 0 3px hsl(var(--accent) / .18);
}
.hc-select {
  appearance: none; -webkit-appearance: none; padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23737373' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center;
}
.hc-textarea { min-height: 7.5rem; resize: vertical; }
.hc-field.is-invalid .hc-input, .hc-field.is-invalid .hc-select, .hc-field.is-invalid .hc-textarea { border-color: #dc2626; }
.hc-error { display: none; font-size: .75rem; color: #dc2626; margin-top: .375rem; }
.hc-field.is-invalid .hc-error { display: block; }
.hc-choice { display: flex; align-items: flex-start; gap: .75rem; padding: .875rem 1rem; border: 1px solid hsl(var(--border)); border-radius: 12px; cursor: pointer; background: hsl(var(--background)); transition: border-color .15s, background-color .15s; }
.hc-choice:hover { border-color: rgb(212 212 212); }
.hc-choice:has(input:checked) { border-color: hsl(var(--accent)); background: hsl(var(--accent) / .04); }
.hc-choice input { margin-top: .2rem; accent-color: hsl(var(--accent)); }
.hc-check { display: flex; align-items: flex-start; gap: .625rem; font-size: .875rem; color: rgb(82 82 82); line-height: 1.5; }
.hc-check input { margin-top: .25rem; accent-color: hsl(var(--accent)); flex: none; }
.hc-form-step { display: none; }
.hc-form-step.is-active { display: block; }
.hc-progress-dot { transition: background-color .2s, color .2s, border-color .2s; }
.hc-progress-dot.is-done { background: hsl(var(--accent)); color: #fff; border-color: hsl(var(--accent)); }
.hc-progress-dot.is-current { border-color: hsl(var(--accent)); color: hsl(var(--accent)); }

/* Range inputs for the calculator */
.hc-range { width: 100%; accent-color: hsl(var(--accent)); height: 1.5rem; cursor: pointer; }

/* ---------- Article / legal prose ---------- */
.hc-prose { color: rgb(82 82 82); font-size: 1.0625rem; line-height: 1.75; }
.hc-prose > * + * { margin-top: 1.25em; }
.hc-prose h2 { font-size: 1.5rem; font-weight: 600; letter-spacing: -.01em; line-height: 1.3; color: hsl(var(--foreground)); margin-top: 2.25em; }
.hc-prose h3 { font-size: 1.125rem; font-weight: 600; color: hsl(var(--foreground)); margin-top: 1.75em; }
.hc-prose ul, .hc-prose ol { padding-left: 1.5rem; }
.hc-prose ul { list-style: disc; }
.hc-prose ol { list-style: decimal; }
.hc-prose li { margin-top: .5em; padding-left: .25rem; }
.hc-prose li::marker { color: rgb(163 163 163); }
.hc-prose a { color: hsl(var(--foreground)); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: hsl(var(--border)); }
.hc-prose a:hover { text-decoration-color: hsl(var(--foreground)); }
.hc-prose strong { color: hsl(var(--foreground)); font-weight: 600; }
.hc-prose blockquote {
  border-left: 2px solid hsl(var(--accent)); padding: .25rem 0 .25rem 1.25rem; font-size: 1.1875rem; line-height: 1.6;
  color: hsl(var(--foreground)); font-weight: 500;
}
.hc-prose table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.hc-prose th, .hc-prose td { text-align: left; padding: .75rem .875rem; border-bottom: 1px solid rgb(240 240 240); vertical-align: top; }
.hc-prose th { color: hsl(var(--foreground)); font-weight: 600; background: rgb(250 250 250); }
.hc-prose .hc-callout { border: 1px solid rgb(240 240 240); background: rgb(250 250 250); border-radius: 12px; padding: 1rem 1.25rem; font-size: .9375rem; }

/* Hero mock-up float: slower, gentler than the compiled 4s default */
.animate-hero-mockup-float { animation-duration: 10s; }

/* ---------- Misc utilities missing from the compiled sheet ---------- */
.hc-hero-wash { background: var(--marketing-hero-wash); }
.hc-tabular { font-variant-numeric: tabular-nums; }
.hc-sticky-top { position: sticky; top: 7rem; }
.hc-scroll-mt { scroll-margin-top: 5.5rem; }
.hc-visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.hc-noise { background-image: url('/noise.png'); }
.hc-cta-gradient { background: linear-gradient(135deg, #0044AA 0%, #0066CC 35%, #0077FF 70%, #00AAFF 100%); }
.hc-lift { transition: transform .2s cubic-bezier(.4,0,.2,1), box-shadow .2s cubic-bezier(.4,0,.2,1), border-color .2s; }
.hc-lift:hover { transform: translateY(-2px); }
.hc-mark { display: inline-flex; align-items: center; justify-content: center; }
.hc-logo-word { font-weight: 600; letter-spacing: -.02em; font-size: 1.125rem; line-height: 1; white-space: nowrap; }
.hc-logo-word span { font-weight: 400; color: rgb(82 82 82); }

/* Skip link */
.hc-skip { position: absolute; left: -999px; top: .5rem; z-index: 100; padding: .5rem .75rem; background: #fff; border: 1px solid hsl(var(--border)); border-radius: 8px; }
.hc-skip:focus { left: .5rem; }

/* Success panels */
.hc-success { display: none; }
form.is-sent .hc-success { display: block; }
form.is-sent .hc-form-body { display: none; }

/* Draft banner for legal pages */
.hc-draft { border: 1px dashed #d4a72c; background: #fffbeb; color: #7a5a00; border-radius: 12px; padding: .75rem 1rem; font-size: .875rem; }

/* Print */
@media print { header, footer, .hc-mobile-nav, .hc-skip { display: none !important; } }

/* ---------- Utilities the compiled Tailwind sheet did not emit (escaped like Tailwind) ---------- */
.text-body-md { font-size: 1rem; font-weight: 400; line-height: 1.6; }
.pt-24 { padding-top: 6rem; }
.pb-14 { padding-bottom: 3.5rem; }
.-bottom-10 { bottom: -2.5rem; }
.w-2\/5 { width: 40%; }
.w-4\/5 { width: 80%; }
.aspect-\[4\/3\] { aspect-ratio: 4 / 3; }
.bg-accent\/35 { background-color: hsl(var(--accent) / .35); }
.bg-accent\/15 { background-color: hsl(var(--accent) / .15); }
.bg-\[\#D7E2FC\]\/32 { background-color: rgb(215 226 252 / .32); }
.bg-\[\#D7E2FC\]\/38 { background-color: rgb(215 226 252 / .38); }
.bg-\[\#D7E2FC\]\/40 { background-color: rgb(215 226 252 / .40); }
.bg-\[\#D7E2FC\]\/45 { background-color: rgb(215 226 252 / .45); }
.bg-\[\#D7E2FC\]\/52 { background-color: rgb(215 226 252 / .52); }
.bg-\[\#D7E2FC\]\/54 { background-color: rgb(215 226 252 / .54); }
.bg-\[\#D7E2FC\]\/58 { background-color: rgb(215 226 252 / .58); }
.bg-\[\#D7E2FC\]\/74 { background-color: rgb(215 226 252 / .74); }
.bg-\[\#DED6F8\]\/18 { background-color: rgb(222 214 248 / .18); }
.bg-\[\#DED6F8\]\/28 { background-color: rgb(222 214 248 / .28); }
.bg-\[\#DED6F8\]\/32 { background-color: rgb(222 214 248 / .32); }
.bg-\[\#DED6F8\]\/35 { background-color: rgb(222 214 248 / .35); }
.bg-\[\#DED6F8\]\/40 { background-color: rgb(222 214 248 / .40); }
.bg-\[\#DED6F8\]\/45 { background-color: rgb(222 214 248 / .45); }
.bg-\[\#DED6F8\]\/48 { background-color: rgb(222 214 248 / .48); }
.bg-\[\#DED6F8\]\/50 { background-color: rgb(222 214 248 / .50); }
.bg-\[\#DED6F8\]\/58 { background-color: rgb(222 214 248 / .58); }
.bg-\[\#DED6F8\]\/62 { background-color: rgb(222 214 248 / .62); }
.bg-\[\#DED6F8\]\/66 { background-color: rgb(222 214 248 / .66); }
.bg-\[\#DED6F8\]\/72 { background-color: rgb(222 214 248 / .72); }
.bg-\[\#DED6F8\]\/76 { background-color: rgb(222 214 248 / .76); }
.bg-\[\#ECF1FA\]\/42 { background-color: rgb(236 241 250 / .42); }
.bg-\[\#ECF1FA\]\/46 { background-color: rgb(236 241 250 / .46); }
.bg-\[\#ECF1FA\]\/48 { background-color: rgb(236 241 250 / .48); }
.bg-\[\#ECF1FA\]\/68 { background-color: rgb(236 241 250 / .68); }
.\[mask-image\:linear-gradient\(to_right\,transparent\,black\,transparent\)\] { -webkit-mask-image: linear-gradient(to right, transparent, black, transparent); mask-image: linear-gradient(to right, transparent, black, transparent); }
.text-6xl { font-size: 3.75rem; line-height: 1; }
.gap-y-2 { row-gap: .5rem; }
.gap-y-3 { row-gap: .75rem; }
.leading-none { line-height: 1; }
.min-h-\[420px\] { min-height: 420px; }
.min-h-\[480px\] { min-height: 480px; }
.max-w-\[560px\] { max-width: 560px; }
.max-w-\[640px\] { max-width: 640px; }
.w-\[200px\] { width: 200px; }
.h-\[160px\] { height: 160px; }
.text-\[11px\] { font-size: 11px; }
.text-\[13px\] { font-size: 13px; }
.text-\[36px\] { font-size: 36px; }
.decoration-accent { text-decoration-color: hsl(var(--accent)); }
@media (min-width: 640px) {
  .sm\:pb-14 { padding-bottom: 3.5rem; }
  .sm\:text-left { text-align: left; }
  .sm\:ml-2 { margin-left: .5rem; }
}
@media (min-width: 768px) {
  .md\:pb-14 { padding-bottom: 3.5rem; }
  .md\:pt-24 { padding-top: 6rem; }
  .md\:grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .lg\:p-7 { padding: 1.75rem; }
  .lg\:pt-36 { padding-top: 9rem; }
  .lg\:grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .lg\:col-span-3 { grid-column: span 3 / span 3; }
  .lg\:text-h2 { letter-spacing: -.015em; font-size: 2.25rem; font-weight: 600; line-height: 1.25; }
}
.lg\:pt-44 { padding-top: 11rem; }
.lg\:pb-28 { padding-bottom: 7rem; }
@media (min-width: 640px) { .sm\:pt-10 { padding-top: 2.5rem; } }
@media (min-width: 1024px) { .lg\:pt-44 { padding-top: 11rem; } .lg\:pb-28 { padding-bottom: 7rem; } }
.grid-cols-\[3rem_1fr\] { grid-template-columns: 3rem 1fr; }
.py-7 { padding-top: 1.75rem; padding-bottom: 1.75rem; }
@media (min-width: 640px) { .sm\:col-span-2 { grid-column: span 2 / span 2; } }
@media (min-width: 1024px) {
  .lg\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .lg\:col-span-5 { grid-column: span 5 / span 5; }
  .lg\:col-span-7 { grid-column: span 7 / span 7; }
}
