/* Horizon theme — base stylesheet.
   Colors, fonts, widths and motion all come from CSS variables set in theme-overrides.css (Theme Settings). */

*, *:before, *:after {
  box-sizing: border-box;
}
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */

/**
 * Remove the margin in all browsers.
 */

body {
  margin: 0;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */

/**
 * Add the correct box sizing in Firefox.
 */

hr {
  box-sizing: content-box;
  height: 0;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, Opera, and Safari.
 */

abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Forms
   ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Remove the inheritance of text transform in Edge and Firefox.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select { /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * Remove the padding so developers are not caught out when they zero out `fieldset` elements in all browsers.
 */

legend {
  padding: 0;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
  vertical-align: baseline;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */

/*
 * Add the correct display in Edge and Firefox.
 */

details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
  display: list-item;
}


/* CSS variables */

:root {
  --column-gap: 2.13%;
  --column-width-multiplier: 8.333;
}

/* Mobile layout */

.row-fluid {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}


  .row-fluid .span1,
  .row-fluid .span2,
  .row-fluid .span3,
  .row-fluid .span4,
  .row-fluid .span5,
  .row-fluid .span6,
  .row-fluid .span7,
  .row-fluid .span8,
  .row-fluid .span9,
  .row-fluid .span10,
  .row-fluid .span11,
  .row-fluid .span12{
  min-height: 1px;
  width: 100%;
}

/* Desktop layout */

@media (min-width: 768px) {
  .row-fluid {
    flex-wrap: nowrap;
    justify-content: space-between;
  }

  
    .row-fluid .span1 {
      width: calc(var(--column-width-multiplier) * 1% * 1 - var(--column-gap) * (11 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span2 {
      width: calc(var(--column-width-multiplier) * 1% * 2 - var(--column-gap) * (10 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span3 {
      width: calc(var(--column-width-multiplier) * 1% * 3 - var(--column-gap) * (9 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span4 {
      width: calc(var(--column-width-multiplier) * 1% * 4 - var(--column-gap) * (8 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span5 {
      width: calc(var(--column-width-multiplier) * 1% * 5 - var(--column-gap) * (7 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span6 {
      width: calc(var(--column-width-multiplier) * 1% * 6 - var(--column-gap) * (6 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span7 {
      width: calc(var(--column-width-multiplier) * 1% * 7 - var(--column-gap) * (5 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span8 {
      width: calc(var(--column-width-multiplier) * 1% * 8 - var(--column-gap) * (4 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span9 {
      width: calc(var(--column-width-multiplier) * 1% * 9 - var(--column-gap) * (3 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span10 {
      width: calc(var(--column-width-multiplier) * 1% * 10 - var(--column-gap) * (2 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span11 {
      width: calc(var(--column-width-multiplier) * 1% * 11 - var(--column-gap) * (1 * var(--column-width-multiplier) / 100));
    }
  
}
/* ---------- Base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--f-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

img, video, svg, iframe { max-width: 100%; }
img { height: auto; display: block; }

a { color: inherit; text-decoration-color: rgba(var(--c-accent-rgb), 0.5); text-underline-offset: 0.2em; transition: color .2s ease, text-decoration-color .2s ease; }
a:hover { color: var(--c-accent); text-decoration-color: currentColor; }

::selection { background: rgba(var(--c-accent-rgb), 0.35); color: var(--c-text); }

:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--f-heading);
  font-weight: var(--fw-heading);
  letter-spacing: var(--tracking-heading);
  line-height: 1.05;
  margin: 0 0 0.5em;
  color: inherit;
  text-wrap: balance;
}

h1, .hvm-h1 { font-size: clamp(2.5rem, 1.6rem + 3.6vw, 4.5rem); }
h2, .hvm-h2 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.5rem); }
h3, .hvm-h3 { font-size: clamp(1.35rem, 1.1rem + 0.9vw, 1.75rem); line-height: 1.15; }
h4 { font-size: 1.25rem; line-height: 1.25; }
h5 { font-size: 1.05rem; line-height: 1.3; }
h6 { font-size: 0.95rem; line-height: 1.3; }

.hvm-display {
  font-family: var(--f-heading);
  font-weight: var(--fw-heading);
  letter-spacing: var(--tracking-heading);
  font-size: clamp(2.75rem, 1.2rem + 6.4vw, var(--display-max));
  line-height: 0.98;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

.hvm-lede {
  font-size: clamp(1.1rem, 1rem + 0.45vw, 1.35rem);
  line-height: 1.5;
  color: var(--s-muted, var(--c-text-muted));
  max-width: 44ch;
}

.hvm-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--f-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: var(--eyebrow-tracking);
  text-transform: var(--eyebrow-case);
  color: var(--c-accent);
  margin: 0 0 1.25rem;
  line-height: 1.3;
}
.hvm-eyebrow--dot::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--c-accent);
  box-shadow: 0 0 0 4px rgba(var(--c-accent-rgb), 0.18);
}

.hvm-muted { color: var(--s-muted, var(--c-text-muted)); }
.hvm-accent { color: var(--c-accent); }

/* Rich text inside modules */
.hvm-rte > *:first-child { margin-top: 0; }
.hvm-rte ul, .hvm-rte ol { padding-left: 1.2em; margin: 0 0 1em; }
.hvm-rte li { margin-bottom: 0.4em; }
.hvm-rte li::marker { color: var(--c-accent); }
.hvm-rte blockquote { margin: 1.5em 0; padding-left: 1.25em; border-left: 2px solid var(--c-accent); font-size: 1.15em; }
.hvm-rte hr { border: 0; border-top: 1px solid var(--s-border, var(--c-border)); margin: 2em 0; }
.hvm-rte img { border-radius: var(--radius-sm); }

/* Containers */
.hvm-container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.hvm-container--narrow { max-width: calc(820px + 2 * var(--gutter)); }
.hvm-container--wide { max-width: calc(1600px + 2 * var(--gutter)); }
.hvm-container--full { max-width: none; }

:root { --gutter: clamp(16px, 4vw, 48px); }

/* HubSpot drag-and-drop areas: sections run edge to edge; Horizon modules manage their own containers. */
.dnd-section { padding: 0 !important; }
.dnd-section > .row-fluid { max-width: none; margin: 0; }
.dnd-section .dnd-column { padding: 0; }

/* Default HubSpot modules dropped straight onto a page get a sensible container. */
.dnd-section .widget-type-rich_text,
.dnd-section .widget-type-header,
.dnd-section .widget-type-section_header,
.dnd-section .widget-type-linked_image,
.dnd-section .widget-type-image,
.dnd-section .widget-type-form,
.dnd-section .widget-type-video,
.dnd-section .widget-type-cta,
.dnd-section .widget-type-blog_content,
.dnd-section .widget-type-divider,
.dnd-section .widget-type-video_embed,
.dnd-section .widget-type-icon,
.dnd-section .widget-type-social_sharing,
.dnd-section .widget-type-google_search,
.dnd-section .widget-type-meetings {
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding: 2.5rem var(--gutter);
}

/* Utilities */
.hvm-sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.hvm-center { text-align: center; }
.hvm-center .hvm-lede { margin-inline: auto; }

/* Scroll reveal (driven by js/main.js).
   Content is visible by default. Elements are only hidden once main.js has confirmed it can reveal them
   (html.hvm-reveal-on), so a blocked script, an editor or a preview frame never leaves sections invisible. */
.hvm-reveal-on [data-reveal]:not(.is-in) {
  opacity: 0;
  transform: translate3d(0, var(--reveal-distance), 0);
}
.hvm-reveal-on [data-reveal="fade"]:not(.is-in) { transform: none; }
.hvm-reveal-on [data-reveal="scale"]:not(.is-in) { transform: scale(0.94); }
.hvm-reveal-on [data-reveal] {
  transition: opacity 0.9s cubic-bezier(.2,.7,.2,1), transform 1.1s cubic-bezier(.2,.7,.2,1);
  transition-delay: calc(var(--i, 0) * 90ms);
}

/* In the HubSpot editor, show everything so modules are easy to edit. */
.hs-inline-edit [data-reveal], .hs-editor-active [data-reveal] { opacity: 1 !important; transform: none !important; }

/* Gold highlight from *asterisks* in headings */
.hvm-hl { font-style: normal; color: var(--c-accent); }
.hvm-s--accent .hvm-hl { color: var(--c-accent-contrast); text-decoration: underline; text-decoration-thickness: 0.06em; text-underline-offset: 0.12em; }
.hvm-s--light .hvm-hl, .hvm-s--white .hvm-hl { color: color-mix(in srgb, var(--c-accent) 78%, #000); }

/* Respect line breaks typed into plain-text fields */
.hvm-lede, .hvm-statement__text, .hvm-display, .hvm-ctab__title { white-space: pre-line; }

/* Editor: everything visible */
.hvm-editor [data-reveal] { opacity: 1 !important; transform: none !important; }

[hidden] { display: none !important; }

/* HubSpot editor + preview frames resize to fit the page, so screen-height units can run away. Cap them. */
.hvm-editor .hvm-hero__inner { min-height: 760px !important; }
.hvm-editor .hvm-header.is-transparent { position: relative; }
.hvm-editor main { padding-top: 0 !important; }
.hvm-editor .hvm-steps__step { min-height: 0 !important; padding: 3rem 0; opacity: 1 !important; }
.hvm-editor .hvm-steps__stage { position: relative; top: 0; }

/* ---------- Energy pass ---------- */

/* Gold highlight shimmers as a gradient */
.hvm-hl {
  background: linear-gradient(100deg, color-mix(in srgb, var(--c-accent) 70%, #fff) 0%, var(--c-accent) 45%, color-mix(in srgb, var(--c-accent) 80%, #8a4b00) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  animation: hvm-shimmer 6s ease-in-out infinite alternate;
}
.hvm-s--accent .hvm-hl, .hvm-s--light .hvm-hl, .hvm-s--white .hvm-hl { animation: none; }
@keyframes hvm-shimmer { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
@media (prefers-reduced-motion: reduce) { .hvm-hl { animation: none; } }

/* Display type: heavier, tighter, cinematic */
.hvm-display, .hvm-h1, h1 { line-height: 0.95; }

/* Eyebrow dot pulses like a record light */
.hvm-eyebrow--dot::before { animation: hvm-rec 2.4s ease-in-out infinite; }
@keyframes hvm-rec { 0%, 100% { box-shadow: 0 0 0 4px rgba(var(--c-accent-rgb), 0.18); } 50% { box-shadow: 0 0 0 9px rgba(var(--c-accent-rgb), 0); } }
@media (prefers-reduced-motion: reduce) { .hvm-eyebrow--dot::before { animation: none; } }

/* ---------- Secondary accent (violet) + cinematic scroll effects ----------
   Everything under .hvm-fx is switched on by main.js only on the live site / preview,
   never in the editor and never for reduced-motion visitors. Without it, content is static and fully visible. */

:root { --hl-grad: linear-gradient(100deg, color-mix(in srgb, var(--c-accent) 65%, #fff) 0%, var(--c-accent) 42%, color-mix(in oklch, var(--c-accent) 62%, var(--c-accent2)) 100%);
  /* Golden hour to dusk: gold, through the oklch midpoint (a warm pink), to violet */
  --grad-horizon: linear-gradient(90deg, var(--c-accent), color-mix(in oklch, var(--c-accent), var(--c-accent2)), var(--c-accent2)); }
.hvm-hl { background-image: var(--hl-grad); }

/* Live dot: the eyebrow dot glows in the secondary accent */
.hvm-eyebrow--dot::before { background: var(--c-accent2); box-shadow: 0 0 0 4px rgba(var(--c-accent2-rgb), 0.2); }
@keyframes hvm-rec { 0%, 100% { box-shadow: 0 0 0 4px rgba(var(--c-accent2-rgb), 0.22); } 50% { box-shadow: 0 0 0 10px rgba(var(--c-accent2-rgb), 0); } }

/* Scroll progress line */
.hvm-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 10000; pointer-events: none;
  background: var(--grad-horizon); transform-origin: 0 50%; transform: scaleX(var(--sp, 0));
  box-shadow: 0 0 12px rgba(var(--c-accent2-rgb), 0.6); }

/* Word-by-word scrub (statements, featured quotes) */
.is-scrub .w { color: color-mix(in srgb, var(--s-text, currentColor) 20%, transparent); transition: color .25s linear; }
.is-scrub .w.on { color: var(--s-text, inherit); }
.is-scrub .hvm-hl .w { color: rgba(var(--c-accent-rgb), 0.22); }
.is-scrub .hvm-hl .w.on { color: var(--c-accent); }
.is-scrub .hvm-hl { background: none; animation: none; color: inherit; }

/* Headlines rise word by word out of a mask */
.hvm-fx [data-split].is-split .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hvm-fx [data-split].is-split .w > span { display: inline-block; transform: translate3d(0, 108%, 0) rotate(4deg); transform-origin: 0 100%;
  transition: transform 1.05s cubic-bezier(.16,.84,.24,1); transition-delay: calc(var(--wi, 0) * 55ms + 80ms); }
.hvm-fx [data-split].is-split.split-in .w > span { transform: none; }
.hvm-fx [data-split].is-split .hvm-hl { background: none; animation: none; color: inherit; }
.hvm-fx [data-split].is-split .hvm-hl .w > span { background-image: var(--hl-grad); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: hvm-shimmer 6s ease-in-out infinite alternate; }
.hvm-fx .hvm-s--light [data-split] .hvm-hl .w > span, .hvm-fx .hvm-s--white [data-split] .hvm-hl .w > span { background: none; color: color-mix(in srgb, var(--c-accent) 78%, #000); animation: none; }
.hvm-fx .hvm-s--accent [data-split] .hvm-hl .w > span { background: none; color: var(--c-accent-contrast); animation: none; }

/* Curtain reveal for media cards */
.hvm-reveal-on [data-reveal="clip"] { transition: clip-path 1.2s cubic-bezier(.16,.84,.24,1), opacity .8s ease, transform 1.2s cubic-bezier(.16,.84,.24,1); transition-delay: calc(var(--i, 0) * 110ms); }
.hvm-reveal-on [data-reveal="clip"]:not(.is-in) { opacity: 0.001; clip-path: inset(22% 0 0 0 round var(--radius)); transform: translate3d(0, 40px, 0); }
.hvm-reveal-on [data-reveal="clip"].is-in { clip-path: inset(0 0 0 0 round 0px); }

/* Parallax media: image drifts inside its frame */
@property --hz { syntax: "<number>"; inherits: true; initial-value: 1; }
html.hvm-fx.hvm-fx [data-parallax] > img, html.hvm-fx.hvm-fx [data-parallax] > video:not(.hvm-work__preview) {
  transform: translate3d(0, var(--py, 0px), 0) scale(calc(1.14 * var(--hz, 1)));
  transition: --hz 1.1s cubic-bezier(.2,.7,.2,1);
  will-change: transform;
}
html.hvm-fx a:hover [data-parallax], html.hvm-fx button:hover [data-parallax], html.hvm-fx .hvm-card:hover [data-parallax] { --hz: 1.05; }

/* Cursor spotlight on cards (gold core, violet edge) */
[data-spot] { --mx: 50%; --my: 50%; }
[data-spot]::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 3; opacity: 0; transition: opacity .4s ease;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(var(--c-accent-rgb), 0.16), rgba(var(--c-accent2-rgb), 0.07) 40%, transparent 70%);
}
[data-spot]::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; z-index: 3; opacity: 0; transition: opacity .4s ease; padding: 1px;
  background: radial-gradient(260px circle at var(--mx) var(--my), rgba(var(--c-accent-rgb), 0.9), rgba(var(--c-accent2-rgb), 0.5) 45%, transparent 75%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
@media (hover: hover) { [data-spot]:hover::after, [data-spot]:hover::before { opacity: 1; } }

/* CTA panel expands from a framed card to its full size as it scrolls in */
.hvm-fx [data-grow] { clip-path: inset(calc((1 - var(--g, 1)) * 9%) calc((1 - var(--g, 1)) * 7%) round calc(var(--radius) + (1 - var(--g, 1)) * 48px)); will-change: clip-path; }
.hvm-fx [data-grow] .hvm-ctab__inner { transform: translate3d(0, calc((1 - var(--g, 1)) * 60px), 0); opacity: calc(0.2 + var(--g, 1) * 0.8); }

/* Buttons pick up a violet halo on hover */
.hvm-btn--primary:hover, .hs-button:hover { box-shadow: 0 1px 0 rgba(255,255,255,0.3) inset, 0 16px 44px -12px rgba(var(--c-accent-rgb), 0.95), 0 22px 60px -20px rgba(var(--c-accent2-rgb), 0.7); }

@media (prefers-reduced-motion: reduce) { .hvm-progress { display: none; } }
/* ---------- Section wrapper used by every Horizon module ---------- */

.hvm-s {
  --s-bg: var(--c-bg);
  --s-text: var(--c-text);
  --s-muted: var(--c-text-muted);
  --s-border: var(--c-border);
  --s-card: var(--c-surface);
  --s-card-raised: var(--c-surface-raised);
  position: relative;
  background: var(--s-bg);
  color: var(--s-text);
  isolation: isolate;
}

.hvm-s--black { --s-bg: #000; --s-card: var(--c-surface); }
.hvm-s--surface { --s-bg: var(--c-surface); --s-card: var(--c-surface-raised); --s-card-raised: var(--c-surface-raised); }
.hvm-s--light {
  --s-bg: var(--c-light-bg);
  --s-text: var(--c-light-text);
  --s-muted: color-mix(in srgb, var(--c-light-text) 62%, transparent);
  --s-border: color-mix(in srgb, var(--c-light-text) 12%, transparent);
  --s-card: #fff;
  --s-card-raised: #fff;
}
.hvm-s--white {
  --s-bg: #fff;
  --s-text: var(--c-light-text);
  --s-muted: color-mix(in srgb, var(--c-light-text) 62%, transparent);
  --s-border: color-mix(in srgb, var(--c-light-text) 10%, transparent);
  --s-card: var(--c-light-bg);
  --s-card-raised: #fff;
}
.hvm-s--accent {
  --s-bg: var(--c-accent);
  --s-text: var(--c-accent-contrast);
  --s-muted: color-mix(in srgb, var(--c-accent-contrast) 70%, transparent);
  --s-border: color-mix(in srgb, var(--c-accent-contrast) 20%, transparent);
  --s-card: color-mix(in srgb, var(--c-accent-contrast) 8%, var(--c-accent));
}
.hvm-s--accent .hvm-eyebrow { color: var(--c-accent-contrast); }
.hvm-s--accent .hvm-btn--primary { background: var(--c-accent-contrast); color: var(--c-accent); }

.hvm-s--light .hvm-eyebrow,
.hvm-s--white .hvm-eyebrow { color: color-mix(in srgb, var(--c-accent) 70%, #000); }

/* Vertical rhythm */
.hvm-pt-none { padding-top: 0; }
.hvm-pt-sm { padding-top: calc(clamp(32px, 4vw, 56px) * var(--space-scale)); }
.hvm-pt-md { padding-top: calc(clamp(56px, 7vw, 96px) * var(--space-scale)); }
.hvm-pt-lg { padding-top: calc(clamp(80px, 10vw, 152px) * var(--space-scale)); }
.hvm-pt-xl { padding-top: calc(clamp(112px, 14vw, 216px) * var(--space-scale)); }
.hvm-pb-none { padding-bottom: 0; }
.hvm-pb-sm { padding-bottom: calc(clamp(32px, 4vw, 56px) * var(--space-scale)); }
.hvm-pb-md { padding-bottom: calc(clamp(56px, 7vw, 96px) * var(--space-scale)); }
.hvm-pb-lg { padding-bottom: calc(clamp(80px, 10vw, 152px) * var(--space-scale)); }
.hvm-pb-xl { padding-bottom: calc(clamp(112px, 14vw, 216px) * var(--space-scale)); }

/* Optional hairline between sections */
.hvm-s--divider::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  width: min(calc(var(--container)), calc(100% - 2 * var(--gutter)));
  transform: translateX(-50%);
  border-top: 1px solid var(--s-border);
}

/* Section header (used by most modules) */
.hvm-head { margin-bottom: clamp(36px, 5vw, 72px); max-width: 880px; }
.hvm-head--center { margin-inline: auto; text-align: center; }
.hvm-head--center .hvm-lede { margin-inline: auto; }
.hvm-head--split {
  max-width: none;
  display: grid;
  gap: 1.5rem 4rem;
  grid-template-columns: 1fr;
  align-items: end;
}
@media (min-width: 900px) { .hvm-head--split { grid-template-columns: 1.2fr 1fr; } }
.hvm-head h2 { margin-bottom: 0.35em; }
.hvm-head .hvm-lede { color: var(--s-muted); }
.hvm-head__action { margin-top: 1.75rem; }

.hvm-head--split > div:last-child:not(:has(.hvm-lede)) { justify-self: end; }
/* ---------- Buttons ---------- */

.hvm-btns { display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; align-items: center; }
.hvm-center .hvm-btns, .hvm-btns--center { justify-content: center; }

.hvm-btn,
.hs-button,
button.hs-button,
input[type="submit"].hs-button {
  --btn-bg: var(--c-accent);
  --btn-fg: var(--c-accent-contrast);
  --btn-bd: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  min-height: 48px;
  padding: 0.8em 1.6em;
  border: 1px solid var(--btn-bd);
  border-radius: var(--btn-radius);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--f-body);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.005em;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .25s cubic-bezier(.2,.7,.2,1), background-color .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease;
  -webkit-appearance: none;
}
.hvm-btn:hover, .hs-button:hover {
  color: var(--btn-fg);
  transform: translateY(-1px);
  box-shadow: 0 10px 30px -10px rgba(var(--c-accent-rgb), 0.55);
}
.hvm-btn:active, .hs-button:active { transform: translateY(0); }

.hvm-btn--secondary {
  --btn-bg: transparent;
  --btn-fg: var(--s-text, var(--c-text));
  --btn-bd: color-mix(in srgb, var(--s-text, var(--c-text)) 28%, transparent);
}
.hvm-btn--secondary:hover {
  --btn-bd: var(--s-text, var(--c-text));
  box-shadow: none;
}
.hvm-btn--glass {
  --btn-bg: rgba(255,255,255,0.12);
  --btn-fg: #fff;
  --btn-bd: rgba(255,255,255,0.22);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.hvm-btn--glass:hover { --btn-bg: rgba(255,255,255,0.2); box-shadow: none; }

.hvm-btn--link {
  --btn-bg: transparent;
  --btn-fg: var(--c-accent);
  padding-inline: 0;
  min-height: 0;
  border-radius: 0;
}
.hvm-btn--link:hover { box-shadow: none; color: var(--c-accent); }
.hvm-btn--link .hvm-arrow { transition: transform .25s ease; }
.hvm-btn--link:hover .hvm-arrow { transform: translateX(4px); }
.hvm-s--light .hvm-btn--link, .hvm-s--white .hvm-btn--link { --btn-fg: color-mix(in srgb, var(--c-accent) 70%, #000); }

.hvm-btn--lg { min-height: 56px; font-size: 1.05rem; padding: 0.9em 1.9em; }
.hvm-btn--sm { min-height: 38px; font-size: 0.88rem; padding: 0.55em 1.1em; }

.hvm-arrow { width: 1em; height: 1em; flex: none; }

/* ---------- Media ---------- */

.hvm-media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--s-card, var(--c-surface));
  aspect-ratio: var(--ar, 16 / 9);
}
.hvm-media > img, .hvm-media > video, .hvm-media > iframe, .hvm-media > picture img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  border: 0;
}
.hvm-media--placeholder {
  background:
    radial-gradient(120% 90% at 20% 0%, rgba(var(--c-accent-rgb), 0.22), transparent 55%),
    radial-gradient(90% 80% at 100% 100%, rgba(255,255,255,0.06), transparent 60%),
    var(--c-surface-raised);
}
.hvm-media--placeholder::after {
  content: attr(data-label);
  position: absolute; left: 1.25rem; bottom: 1rem;
  font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

/* Play button */
.hvm-play {
  --size: 76px;
  position: absolute;
  left: 50%; top: 50%;
  width: var(--size); height: var(--size);
  margin: calc(var(--size) / -2) 0 0 calc(var(--size) / -2);
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #fff;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), background-color .3s ease;
  pointer-events: none;
}
.hvm-play svg { width: 26%; height: 26%; margin-left: 6%; }
.hvm-video-trigger { cursor: pointer; display: block; width: 100%; padding: 0; border: 0; background: none; color: inherit; text-align: inherit; font: inherit; }
.hvm-video-trigger:hover .hvm-play { transform: scale(1.08); background: var(--c-accent); border-color: var(--c-accent); color: var(--c-accent-contrast); }
.hvm-video-trigger .hvm-media img { transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.hvm-video-trigger:hover .hvm-media img { transform: scale(1.03); }

/* ---------- Lightbox ---------- */

.hvm-lightbox {
  position: fixed; inset: 0; z-index: 10000;
  display: grid; place-items: center;
  padding: clamp(12px, 4vw, 64px);
  background: rgba(0,0,0,0.92);
  opacity: 0; visibility: hidden;
  transition: opacity .35s ease, visibility .35s ease;
}
.hvm-lightbox.is-open { opacity: 1; visibility: visible; }
.hvm-lightbox__frame {
  position: relative;
  width: min(100%, 1400px, calc((100vh - 120px) * 16 / 9));
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--radius-sm);
  overflow: hidden;
  transform: scale(0.96);
  transition: transform .45s cubic-bezier(.2,.7,.2,1);
}
.hvm-lightbox.is-vertical .hvm-lightbox__frame { aspect-ratio: 9 / 16; width: min(100%, calc((100vh - 120px) * 9 / 16)); }
.hvm-lightbox.is-open .hvm-lightbox__frame { transform: none; }
.hvm-lightbox__frame iframe, .hvm-lightbox__frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.hvm-lightbox__close {
  position: absolute; top: 16px; right: 16px;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.08);
  color: #fff; cursor: pointer;
  display: grid; place-items: center;
}
.hvm-lightbox__close:hover { background: rgba(255,255,255,0.18); }
body.hvm-lock { overflow: hidden; }

/* ---------- Cards & chips ---------- */

.hvm-card {
  position: relative;
  background: var(--s-card);
  border: 1px solid var(--s-border);
  border-radius: var(--radius);
  overflow: hidden;
}

.hvm-chip {
  display: inline-flex; align-items: center;
  padding: 0.35em 0.8em;
  border-radius: 999px;
  border: 1px solid var(--s-border);
  font-size: 0.78rem; font-weight: 500;
  color: var(--s-muted);
  line-height: 1.2;
}

/* Grid helper */
.hvm-grid { display: grid; gap: var(--gap, clamp(16px, 2vw, 28px)); grid-template-columns: 1fr; }
@media (min-width: 640px) { .hvm-grid--2, .hvm-grid--3, .hvm-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) {
  .hvm-grid--3 { grid-template-columns: repeat(3, 1fr); }
  .hvm-grid--4 { grid-template-columns: repeat(4, 1fr); }
}

/* Horizontal scroller (DJI-style product strip) */
.hvm-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: var(--rail-w, min(82vw, 420px));
  gap: clamp(14px, 1.6vw, 24px);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2));
  padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2));
  padding-bottom: 8px;
  scrollbar-width: none;
}
.hvm-rail::-webkit-scrollbar { display: none; }
.hvm-rail > * { scroll-snap-align: start; }
.hvm-rail-nav { display: flex; gap: 0.5rem; justify-content: flex-end; margin-top: 1.5rem; }
.hvm-rail-nav button {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--s-border); background: var(--s-card);
  color: var(--s-text); cursor: pointer; display: grid; place-items: center;
  transition: background-color .2s ease, opacity .2s ease;
}
.hvm-rail-nav button:hover { background: var(--s-card-raised); }
.hvm-rail-nav button[disabled] { opacity: 0.35; cursor: default; }
.hvm-rail-nav svg { width: 18px; height: 18px; }

/* Primary button: warm gradient + glow */
.hvm-btn--primary, .hs-button {
  background: linear-gradient(180deg, color-mix(in srgb, var(--c-accent) 82%, #fff) 0%, var(--c-accent) 100%);
  box-shadow: 0 1px 0 rgba(255,255,255,0.25) inset, 0 10px 34px -14px rgba(var(--c-accent-rgb), 0.85);
}
.hvm-btn--primary:hover, .hs-button:hover { box-shadow: 0 1px 0 rgba(255,255,255,0.3) inset, 0 16px 44px -12px rgba(var(--c-accent-rgb), 0.95); }
/* ---------- Header ---------- */

.hvm-skip { position: absolute; left: -9999px; top: 8px; z-index: 10001; padding: 0.6em 1em; background: var(--c-accent); color: var(--c-accent-contrast); border-radius: 6px; }
.hvm-skip:focus { left: 8px; }

.hvm-announce { position: relative; z-index: 101; background: var(--c-accent); color: var(--c-accent-contrast); text-align: center; font-size: 0.88rem; font-weight: 600; }
.hvm-announce a { display: inline-flex; align-items: center; gap: 0.4em; padding: 0.55rem 1rem; text-decoration: none; color: inherit; }

.hvm-header {
  --h: 72px;
  position: sticky; top: 0; z-index: 100;
  height: var(--h);
  color: var(--c-text);
  background: rgba(var(--c-bg-rgb), 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid color-mix(in srgb, var(--c-border) 70%, transparent);
  transition: background-color .35s ease, border-color .35s ease, transform .4s cubic-bezier(.2,.7,.2,1);
}
/* Transparent over hero: header floats on top of the first section */
.hvm-header.is-transparent { position: fixed; left: 0; right: 0; }
.hvm-announce ~ .hvm-header.is-transparent { position: sticky; }
.hvm-header.is-transparent:not(.is-scrolled):not(.is-open) { background: transparent; border-bottom-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.hvm-header.is-transparent:not(.is-scrolled):not(.is-open)::before { content: ""; position: absolute; inset: 0 0 -40px; background: linear-gradient(180deg, rgba(0,0,0,0.45), transparent); pointer-events: none; z-index: -1; }
.hvm-header.is-hidden { transform: translateY(-100%); }
/* When the page doesn't start with a hero, push content below the fixed header */
body:has(.hvm-header.is-transparent):not(:has(.hvm-hero)) main { padding-top: var(--h, 72px); }
.hvm-no-hero main { padding-top: var(--h, 72px); }

.hvm-header__bar { height: 100%; display: flex; align-items: center; gap: 2rem; }
.hvm-header__logo { display: inline-flex; align-items: center; text-decoration: none; color: inherit; flex: none; }
.hvm-header__logo:hover { color: inherit; }
.hvm-wordmark { font-family: var(--f-heading); font-weight: 700; font-size: 1.25rem; letter-spacing: -0.03em; }

.hvm-nav { margin-left: auto; }
.hvm-nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 0.25rem; }
.hvm-nav__item { position: relative; }
.hvm-nav__link {
  display: inline-flex; align-items: center; gap: 0.3em;
  padding: 0.55em 0.9em; border-radius: 999px; border: 0; background: none;
  font: inherit; font-size: 0.92rem; font-weight: 500; color: color-mix(in srgb, var(--c-text) 82%, transparent);
  text-decoration: none; cursor: pointer;
  transition: color .2s ease, background-color .2s ease;
}
.hvm-nav__link:hover, .hvm-nav__item.is-open > .hvm-nav__link { color: var(--c-text); background: rgba(255,255,255,0.07); }
.hvm-nav__link.is-current, .hvm-nav__item.is-active > .hvm-nav__link { color: var(--c-text); }
.hvm-nav__toggle svg { width: 12px; height: 12px; transition: transform .25s ease; }
.hvm-nav__item.is-open .hvm-nav__toggle svg { transform: rotate(180deg); }

.hvm-nav__panel {
  position: absolute; top: calc(100% + 10px); left: 50%;
  min-width: 260px;
  padding: 0.5rem;
  border-radius: calc(var(--radius-sm) + 4px);
  background: rgba(var(--c-bg-rgb), 0.92);
  border: 1px solid var(--c-border);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.6);
  opacity: 0; visibility: hidden;
  transform: translate(-50%, -6px);
  transition: opacity .25s ease, transform .3s cubic-bezier(.2,.7,.2,1), visibility .25s;
}
.hvm-nav__panel::before { content: ""; position: absolute; inset: -14px 0 auto; height: 14px; }
.hvm-nav__item.is-open .hvm-nav__panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.hvm-nav__sub { list-style: none; margin: 0; padding: 0; }
.hvm-nav__sublink { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.7rem 0.9rem; border-radius: var(--radius-sm); text-decoration: none; font-size: 0.95rem; color: color-mix(in srgb, var(--c-text) 85%, transparent); }
.hvm-nav__sublink:hover, .hvm-nav__sublink.is-current { background: rgba(255,255,255,0.06); color: var(--c-text); }
.hvm-nav__overview { color: var(--c-accent); font-weight: 600; justify-content: flex-start; gap: 0.4em; }
.hvm-nav__overview:hover { color: var(--c-accent); }
.hvm-nav__mobile-cta { display: none; }

.hvm-header__actions { display: flex; align-items: center; gap: 1rem; flex: none; }
.hvm-header__phone { font-size: 0.9rem; text-decoration: none; color: color-mix(in srgb, var(--c-text) 80%, transparent); }
.hvm-burger { display: none; position: relative; width: 44px; height: 44px; border: 0; background: none; color: var(--c-text); cursor: pointer; margin-right: -10px; }
.hvm-burger span { position: absolute; left: 12px; right: 12px; height: 1.6px; background: currentColor; border-radius: 2px; transition: transform .35s cubic-bezier(.2,.7,.2,1), top .35s cubic-bezier(.2,.7,.2,1); }
.hvm-burger span:first-child { top: 18px; }
.hvm-burger span:last-child { top: 25px; }
.hvm-header.is-open .hvm-burger span:first-child { top: 21.5px; transform: rotate(45deg); }
.hvm-header.is-open .hvm-burger span:last-child { top: 21.5px; transform: rotate(-45deg); }

@media (max-width: 1023px) {
  .hvm-header { --h: 64px; }
  .hvm-burger { display: block; }
  .hvm-header__actions { margin-left: auto; }
  .hvm-header__phone { display: none; }
  .hvm-header__cta { display: none; }
  .hvm-nav {
    position: fixed; top: var(--h); left: 0; right: 0; bottom: 0;
    margin: 0; padding: 1rem var(--gutter) 2rem;
    background: var(--c-bg);
    overflow-y: auto;
    display: flex; flex-direction: column; justify-content: space-between;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .3s ease, transform .4s cubic-bezier(.2,.7,.2,1), visibility .3s;
  }
  .hvm-header.is-open .hvm-nav { opacity: 1; visibility: visible; transform: none; }
  .hvm-header.is-open { background: var(--c-bg); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .hvm-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .hvm-nav__item { border-bottom: 1px solid var(--c-border); }
  .hvm-nav__link { width: 100%; justify-content: space-between; padding: 1.1rem 0; border-radius: 0; font-family: var(--f-heading); font-size: 1.6rem; font-weight: 600; letter-spacing: -0.02em; color: var(--c-text); }
  .hvm-nav__link:hover, .hvm-nav__item.is-open > .hvm-nav__link { background: none; }
  .hvm-nav__toggle svg { width: 18px; height: 18px; }
  .hvm-nav__panel { position: static; transform: none; opacity: 1; visibility: visible; min-width: 0; padding: 0 0 1rem; border: 0; background: none; box-shadow: none; backdrop-filter: none; display: none; }
  .hvm-nav__item.is-open .hvm-nav__panel { display: block; transform: none; }
  .hvm-nav__sublink { padding: 0.6rem 0; font-size: 1.05rem; }
  .hvm-nav__sublink:hover { background: none; }
  .hvm-nav__mobile-cta { display: flex; flex-direction: column; gap: 1rem; align-items: stretch; padding-top: 2rem; }
  .hvm-nav__phone { text-align: center; color: var(--c-text-muted); text-decoration: none; }
}
body.hvm-nav-open { overflow: hidden; }

/* ---------- Footer ---------- */

.hvm-footer { padding: clamp(56px, 6vw, 96px) 0 2rem; border-top: 1px solid var(--c-border); }
.hvm-footer__closer { position: relative; padding-bottom: clamp(64px, 8vw, 120px); margin-bottom: clamp(48px, 6vw, 80px); display: flex; flex-direction: column; gap: 2.5rem; }
.hvm-footer__closer::after, .hvm-footer__base::before { content: ""; position: absolute; left: var(--gutter); right: var(--gutter); border-top: 1px solid var(--s-border); }
.hvm-footer__closer::after { bottom: 0; }
.hvm-footer__base::before { top: 0; }
.hvm-footer__big { max-width: 14ch; }
.hvm-footer__main { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 900px) { .hvm-footer__main { grid-template-columns: 1fr 1.7fr; } }
.hvm-footer__about { color: var(--s-muted); max-width: 40ch; margin: 1.25rem 0 1.5rem; font-size: 0.95rem; }
.hvm-footer__social { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.5rem; }
.hvm-footer__social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--s-border); color: var(--s-muted); transition: all .2s ease; }
.hvm-footer__social a:hover { color: var(--c-accent-contrast); background: var(--c-accent); border-color: var(--c-accent); }
.hvm-footer__social svg { width: 18px; height: 18px; }
.hvm-footer__cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
@media (min-width: 640px) { .hvm-footer__cols { grid-template-columns: 1fr 1fr 1.4fr; } }
.hvm-footer__title { font-size: 0.78rem; letter-spacing: var(--eyebrow-tracking); text-transform: var(--eyebrow-case); color: var(--s-muted); margin-bottom: 1rem; font-weight: 600; }
.hvm-footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.hvm-footer__col a { text-decoration: none; font-size: 0.95rem; color: color-mix(in srgb, var(--s-text) 88%, transparent); overflow-wrap: anywhere; }
.hvm-footer__col a:hover { color: var(--c-accent); }
.hvm-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; margin-top: clamp(48px, 6vw, 96px); padding-top: 1.5rem; position: relative; font-size: 0.82rem; color: var(--s-muted); }
.hvm-footer__base p { margin: 0; }

/* ---------- Blog ---------- */

.hvm-blog-hero { padding-top: clamp(48px, 7vw, 112px); }
.hvm-post-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(32px, 4vw, 56px) clamp(16px, 2vw, 28px); grid-template-columns: 1fr; }
@media (min-width: 700px) { .hvm-post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .hvm-post-grid { grid-template-columns: repeat(3, 1fr); } .hvm-post-grid > li:first-child { grid-column: 1 / -1; display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; align-items: center; } .hvm-post-grid > li:first-child .hvm-post-card__title { font-size: clamp(1.8rem, 1.2rem + 1.6vw, 2.8rem); } }
.hvm-post-card { display: block; text-decoration: none; color: inherit; }
.hvm-post-card:hover { color: inherit; }
.hvm-post-card .hvm-media img { transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.hvm-post-card:hover .hvm-media img { transform: scale(1.04); }
.hvm-post-card__meta { display: flex; gap: 0.75rem; align-items: center; font-size: 0.85rem; color: var(--s-muted, var(--c-text-muted)); margin: 1.1rem 0 0.6rem; }
.hvm-post-card__meta .hvm-chip { color: var(--c-accent); border-color: rgba(var(--c-accent-rgb), 0.4); }
.hvm-post-card__title { font-size: 1.4rem; margin: 0 0 0.5rem; line-height: 1.2; }
.hvm-post-card:hover .hvm-post-card__title { color: var(--c-accent); }
.hvm-post-card__excerpt { color: var(--s-muted, var(--c-text-muted)); font-size: 0.98rem; margin: 0; }
.hvm-pagination { display: flex; justify-content: center; gap: 0.5rem; margin-top: 4rem; }
.hvm-pagination a, .hvm-pagination span { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 0.9rem; border-radius: 999px; border: 1px solid var(--c-border); text-decoration: none; font-size: 0.92rem; }
.hvm-pagination .is-current { background: var(--c-text); color: var(--c-bg); border-color: var(--c-text); }

.hvm-article__head { padding-top: clamp(48px, 7vw, 112px); }
.hvm-article__meta { display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem; align-items: center; color: var(--c-text-muted); font-size: 0.92rem; margin-top: 1.5rem; }
.hvm-article__author { display: flex; align-items: center; gap: 0.7rem; }
.hvm-article__author img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.hvm-article__cover { margin: clamp(40px, 5vw, 72px) auto; }
.hvm-article__body { font-size: 1.12rem; line-height: 1.75; }
.hvm-article__body h2 { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem); margin-top: 2em; }
.hvm-article__body h3 { margin-top: 1.8em; }
.hvm-article__body p, .hvm-article__body li { color: color-mix(in srgb, var(--c-text) 86%, transparent); }
.hvm-article__body a { color: var(--c-accent); }
.hvm-article__body img { border-radius: var(--radius-sm); margin: 2rem 0; }
.hvm-article__tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--c-border); }
.hvm-article__tags a { text-decoration: none; }

/* ---------- System pages ---------- */
.hvm-system { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 4rem var(--gutter) 6rem; }
.hvm-system .hvm-display { margin-bottom: 1rem; }
.hvm-system .hvm-btns { justify-content: center; margin-top: 2rem; }

/* Minimal header (landing pages) */
.hvm-header.is-minimal .hvm-header__actions { margin-left: auto; }
.hvm-header.is-minimal .hvm-header__cta { display: inline-flex; }
.hvm-related > li:nth-child(n+4) { display: none; }

/* Blog post banner: featured image behind the title (like a hero), body content below */
.hvm-article__banner { position: relative; isolation: isolate; }
.hvm-article__banner.has-image {
  display: flex; align-items: flex-end;
  min-height: clamp(380px, 62svh, 680px);
  overflow: hidden;
  margin-bottom: clamp(40px, 5vw, 72px);
}
.hvm-article__banner-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hvm-fx .hvm-article__banner-img { animation: hvm-banner-in 1.8s cubic-bezier(.2,.7,.2,1) both; }
@keyframes hvm-banner-in { from { transform: scale(1.08); opacity: .4; } to { transform: none; opacity: 1; } }
.hvm-article__banner-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.15) 35%, rgba(0,0,0,.55) 70%, var(--c-bg) 100%),
    radial-gradient(60% 50% at 10% 100%, rgba(var(--c-accent-rgb), .18), transparent 70%);
}
.hvm-article__banner.has-image .hvm-article__head { padding-top: clamp(96px, 12vw, 180px); padding-bottom: clamp(28px, 4vw, 56px); color: #fff; }
.hvm-article__banner.has-image .hvm-h1 { text-shadow: 0 2px 30px rgba(0,0,0,.45); }
.hvm-article__banner.has-image .hvm-article__meta { color: rgba(255,255,255,.82); }
.hvm-article__banner.has-image .hvm-article__meta a { color: #fff; }
.hvm-article__banner:not(.has-image) { margin-bottom: clamp(32px, 4vw, 56px); }
/* ---------- Fields (custom forms + HubSpot forms) ---------- */

.hvm-field { display: flex; flex-direction: column; gap: 0.45rem; font-size: 0.88rem; font-weight: 500; }
.hvm-field span em { font-style: normal; color: var(--s-muted, var(--c-text-muted)); font-weight: 400; }
.hvm-field input, .hvm-field textarea, .hvm-field select,
.hs-form input[type="text"], .hs-form input[type="email"], .hs-form input[type="tel"], .hs-form input[type="number"], .hs-form input[type="url"],
.hs-form textarea, .hs-form select {
  width: 100%;
  min-height: 52px;
  padding: 0.8rem 1rem;
  border-radius: calc(var(--radius-sm) * 0.7);
  border: 1px solid color-mix(in srgb, var(--s-text, var(--c-text)) 18%, transparent);
  background: color-mix(in srgb, var(--s-text, var(--c-text)) 5%, transparent);
  color: var(--s-text, var(--c-text));
  font: inherit; font-size: 1rem; font-weight: 400;
  transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
  -webkit-appearance: none; appearance: none;
}
.hvm-field textarea, .hs-form textarea { min-height: 110px; resize: vertical; }
.hvm-field input:focus, .hvm-field textarea:focus,
.hs-form input:focus, .hs-form textarea:focus, .hs-form select:focus {
  outline: none;
  border-color: var(--c-accent);
  box-shadow: 0 0 0 4px rgba(var(--c-accent-rgb), 0.18);
  background: color-mix(in srgb, var(--s-text, var(--c-text)) 7%, transparent);
}
.hvm-field.is-invalid input { border-color: #e5484d; }

/* Standard HubSpot forms (if you drop one onto a page) */
.hs-form fieldset { max-width: none !important; }
.hs-form .hs-form-field { margin-bottom: 1.1rem; }
.hs-form label { display: block; font-size: 0.88rem; font-weight: 500; margin-bottom: 0.45rem; }
.hs-form .hs-error-msgs { list-style: none; padding: 0; margin: 0.4rem 0 0; color: #ff7b7f; font-size: 0.85rem; }
.hs-form .legal-consent-container { font-size: 0.82rem; color: var(--s-muted, var(--c-text-muted)); }
.hs-form .hs-richtext { font-size: 0.9rem; }
.hs-form input[type="checkbox"], .hs-form input[type="radio"] { accent-color: var(--c-accent); margin-right: 0.5em; }
.submitted-message { padding: 1.5rem; border-radius: var(--radius-sm); background: color-mix(in srgb, var(--s-text, var(--c-text)) 6%, transparent); }

/* ---------- 3-step quote form ---------- */

.hvm-qf { position: relative; }
.hvm-qf__progress { height: 3px; border-radius: 3px; background: color-mix(in srgb, var(--s-text, var(--c-text)) 12%, transparent); overflow: hidden; margin-bottom: 1.25rem; }
.hvm-qf__progress span { display: block; height: 100%; background: var(--c-accent); width: 33.333%; transition: width .5s cubic-bezier(.2,.7,.2,1); }
.hvm-qf__count { font-size: 0.8rem; color: var(--s-muted, var(--c-text-muted)); margin: 0 0 1.5rem; font-variant-numeric: tabular-nums; }
.hvm-qf__step { border: 0; padding: 0; margin: 0; min-width: 0; }
@keyframes hvm-step-in { from { opacity: 0; transform: translateX(16px); } }
.hvm-qf__legend { font-family: var(--f-heading); font-weight: var(--fw-heading); letter-spacing: -0.02em; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); line-height: 1.15; margin: 0 0 0.5rem; padding: 0; }
.hvm-qf__legend--sub { font-size: 1.15rem; margin-top: 2rem; }
.hvm-qf__hint { color: var(--s-muted, var(--c-text-muted)); margin: 0 0 1.5rem; font-size: 0.95rem; }
.hvm-qf__options { display: grid; gap: 0.6rem; margin-top: 1.25rem; }
.hvm-qf__options--cards { grid-template-columns: 1fr; }
@media (min-width: 520px) { .hvm-qf__options--cards { grid-template-columns: 1fr 1fr; } }
.hvm-qf__options--pills { display: flex; flex-wrap: wrap; }
.hvm-qf__opt { position: relative; cursor: pointer; }
.hvm-qf__opt input { position: absolute; opacity: 0; pointer-events: none; }
.hvm-qf__optbox {
  display: flex; flex-direction: column; gap: 0.2rem;
  height: 100%;
  padding: 1rem 1.1rem;
  border-radius: calc(var(--radius-sm) * 0.8);
  border: 1px solid color-mix(in srgb, var(--s-text, var(--c-text)) 16%, transparent);
  background: color-mix(in srgb, var(--s-text, var(--c-text)) 3%, transparent);
  transition: border-color .2s ease, background-color .2s ease, transform .2s ease;
}
.hvm-qf__options--pills .hvm-qf__optbox { padding: 0.7rem 1.1rem; border-radius: 999px; }
.hvm-qf__optbox strong { font-weight: 600; font-size: 0.98rem; }
.hvm-qf__optbox small { font-size: 0.84rem; color: var(--s-muted, var(--c-text-muted)); }
.hvm-qf__opt:hover .hvm-qf__optbox { border-color: color-mix(in srgb, var(--s-text, var(--c-text)) 40%, transparent); }
.hvm-qf__opt input:checked + .hvm-qf__optbox { border-color: var(--c-accent); background: rgba(var(--c-accent-rgb), 0.12); box-shadow: inset 0 0 0 1px var(--c-accent); }
.hvm-qf__opt input:focus-visible + .hvm-qf__optbox { outline: 2px solid var(--c-accent); outline-offset: 2px; }
.hvm-qf__fields { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-top: 1.5rem; }
@media (min-width: 520px) { .hvm-qf__fields { grid-template-columns: 1fr 1fr; } .hvm-field--full { grid-column: 1 / -1; } }
.hvm-qf__privacy { font-size: 0.82rem; color: var(--s-muted, var(--c-text-muted)); margin: 1rem 0 0; }
.hvm-qf__error { color: #ff7b7f; font-size: 0.92rem; margin: 1rem 0 0; }
.hvm-qf__nav { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 2rem; }
.hvm-qf__nav .hvm-qf__next, .hvm-qf__nav .hvm-qf__submit { margin-left: auto; }
.hvm-qf.is-sending .hvm-qf__submit { opacity: 0.6; pointer-events: none; }
.hvm-qf.is-done > :not(.hvm-qf__done) { display: none !important; }
.hvm-qf__done { text-align: center; padding: 1.5rem 0; }
.hvm-qf__done:not([hidden]) { animation: hvm-step-in .5s cubic-bezier(.2,.7,.2,1); }
.hvm-qf__done h3 { font-size: 1.75rem; margin: 1.25rem 0 0.5rem; }
.hvm-qf__done .hvm-btns { margin-top: 1.5rem; }
.hvm-qf__check { width: 64px; height: 64px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; background: var(--c-accent); color: var(--c-accent-contrast); }
.hvm-qf__check svg { width: 30px; height: 30px; }

/* Quote section on a page */
.hvm-quote__grid { display: grid; grid-template-columns: 1fr; gap: clamp(32px, 5vw, 96px); align-items: start; }
@media (min-width: 1000px) { .hvm-quote--split { grid-template-columns: 1fr 1.1fr; } .hvm-quote--split .hvm-quote__aside { position: sticky; top: 120px; } }
.hvm-quote--center { max-width: 760px; margin-inline: auto; }
.hvm-quote--center .hvm-head { text-align: center; margin-inline: auto; }
.hvm-quote__card { padding: clamp(24px, 3.5vw, 48px); }
.hvm-quote__next { list-style: none; counter-reset: n; padding: 0; margin: 0 0 2rem; display: grid; gap: 1.25rem; }
.hvm-quote__next li { counter-increment: n; position: relative; padding-left: 3rem; display: flex; flex-direction: column; }
.hvm-quote__next li::before { content: counter(n); position: absolute; left: 0; top: 0; width: 2rem; height: 2rem; border-radius: 50%; border: 1px solid var(--s-border); display: grid; place-items: center; font-size: 0.85rem; color: var(--c-accent); font-weight: 600; }
.hvm-quote__next strong { font-weight: 600; }
.hvm-quote__next span { color: var(--s-muted); font-size: 0.95rem; }
.hvm-quote__alt, .hvm-drawer__alt { color: var(--s-muted, var(--c-text-muted)); font-size: 0.95rem; }
.hvm-quote__alt a, .hvm-drawer__alt a { color: var(--s-text, var(--c-text)); }

/* ---------- Site-wide quote drawer ---------- */

.hvm-drawer { position: fixed; inset: 0; z-index: 9000; --s-text: var(--c-text); --s-muted: var(--c-text-muted); --s-border: var(--c-border); color: var(--c-text); }
.hvm-drawer[hidden] { display: none; }
.hvm-drawer__scrim { position: absolute; inset: 0; background: rgba(0,0,0,0.6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .4s ease; }
.hvm-drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(100%, 600px);
  overflow-y: auto; overscroll-behavior: contain;
  background: var(--c-surface);
  border-left: 1px solid var(--c-border);
  padding: clamp(28px, 4vw, 56px);
  transform: translateX(100%);
  transition: transform .55s cubic-bezier(.2,.7,.2,1);
}
.hvm-drawer.is-open .hvm-drawer__scrim { opacity: 1; }
.hvm-drawer.is-open .hvm-drawer__panel { transform: none; }
.hvm-drawer__title { font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.5rem); margin-bottom: 2rem; }
.hvm-drawer__close { position: absolute; top: 18px; right: 18px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--c-border); background: transparent; color: var(--c-text); cursor: pointer; display: grid; place-items: center; }
.hvm-drawer__close:hover { background: var(--c-surface-raised); }
@media (prefers-reduced-motion: reduce) { .hvm-drawer__panel, .hvm-drawer__scrim { transition: none; } }

/* Auto-advance: thin timer under multi-select options, then the next question slides in */
.hvm-qf__auto { height: 2px; border-radius: 2px; margin: 1.25rem 0 0; background: color-mix(in srgb, var(--s-text, var(--c-text)) 10%, transparent); overflow: hidden; opacity: 0; transition: opacity .2s ease; }
.hvm-qf__auto span { display: block; height: 100%; width: 100%; background: var(--grad-horizon, var(--c-accent)); transform-origin: 0 50%; transform: scaleX(0); }
.hvm-qf__auto.is-running { opacity: 1; }
.hvm-qf__auto.is-running span { transform: scaleX(1); transition: transform var(--auto-ms, 1300ms) linear; }
.hvm-qf__opt input:checked + .hvm-qf__optbox { animation: hvm-qf-pick .35s cubic-bezier(.2,.7,.2,1); }
@keyframes hvm-qf-pick { 40% { transform: scale(0.97); } }
.hvm-qf[data-auto="true"] .hvm-qf__nav:not(:has(:not([hidden]))) { display: none; }
@media (prefers-reduced-motion: reduce) { .hvm-qf__step.is-active, .hvm-qf__opt input:checked + .hvm-qf__optbox { animation: none !important; } }

/* ---- Smooth step transitions ---- */
.hvm-qf__viewport { position: relative; transition: height .5s cubic-bezier(.22,.8,.2,1); }
.hvm-qf__viewport.is-animating { overflow: clip; overflow-clip-margin: 10px; }
.hvm-qf__step.is-leaving {
  position: absolute; top: 0; left: 0; right: 0;
  pointer-events: none;
  animation: hvm-qf-leave .34s cubic-bezier(.4,0,.2,1) forwards;
}
.hvm-qf__step.is-entering { animation: hvm-qf-enter .5s cubic-bezier(.22,.8,.2,1) .06s both; }
.hvm-qf__step.is-entering :is(.hvm-qf__legend, .hvm-qf__hint, .hvm-qf__opt, .hvm-field, .hvm-qf__privacy) {
  animation: hvm-qf-rise .55s cubic-bezier(.22,.8,.2,1) both;
  animation-delay: calc(110ms + min(var(--i, 0), 10) * 38ms);
}
@keyframes hvm-qf-leave { to { opacity: 0; transform: translate3d(calc(var(--dir, 1) * -32px), 0, 0); filter: blur(3px); } }
@keyframes hvm-qf-enter { from { opacity: 0; transform: translate3d(calc(var(--dir, 1) * 36px), 0, 0); } to { opacity: 1; transform: none; } }
@keyframes hvm-qf-rise  { from { opacity: 0; transform: translate3d(0, 12px, 0); } to { opacity: 1; transform: none; } }
.hvm-qf__count [data-qf-index] { display: inline-block; }
.hvm-qf__count .is-tick { animation: hvm-qf-tick .4s cubic-bezier(.22,.8,.2,1); }
@keyframes hvm-qf-tick { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.hvm-qf__progress span { transition: width .6s cubic-bezier(.22,.8,.2,1); }
.hvm-qf__nav [data-qf-back] { transition: opacity .3s ease; }
@media (prefers-reduced-motion: reduce) {
  .hvm-qf__viewport { transition: none; }
  .hvm-qf__step.is-entering, .hvm-qf__step.is-entering *, .hvm-qf__step.is-leaving { animation: none !important; }
}