/* Default theme base styles. Brand-neutral; values from the ht-tokens palette.
   theme_config overrides arrive as --hm-* custom properties on :root. */
/* Fonts are self-hosted (SIL OFL 1.1, see fonts/OFL.txt); no third-party requests. */
@font-face { font-family: "Geist"; src: url("/theme/assets/fonts/Geist-Variable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  /* shiro / sumi palette. Colour is scarce: shu (red) is only the mark and the primary CTA. */
  --hm-shu: #c23b22;
  --hm-shu-dark: #a02f1a;
  --hm-sumi: #141417;
  --hm-hai: #66666c;
  --hm-label: #6e6e73;
  --hm-hair: #e6e6e6;
  --hm-shiro: #fafaf8;
  --hm-kinu: #e4e3de;
  --hm-kasumi: #f4f3ef;
  --hm-sumi-soft: #2a2a2f;

  --ht-fg: var(--hm-text);
  --ht-fg-muted: var(--hm-hai);
  --ht-line: var(--hm-hair);
  --ht-surface: var(--hm-bg);
  --ht-surface-2: var(--hm-shiro);

  /* theme_config overrides land on these. --hm-primary colours the primary CTA only. */
  --hm-primary: var(--hm-shu);
  --hm-bg: #ffffff;
  --hm-text: var(--hm-sumi);
  --hm-font: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --hm-font-heading: var(--hm-font);
  --hm-font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --hm-font-kanji: "Hiragino Sans", "Yu Gothic", "Noto Sans JP", "Noto Sans CJK JP", "Meiryo", sans-serif;
  --hm-radius-sm: 6px;
  --hm-radius-md: 10px;
  --hm-radius-lg: 16px;
  --hm-container: 75rem;
  --color-brand: var(--hm-primary);
  --hm-focus: var(--hm-sumi);
  color-scheme: light;
}

/* Dark mode is opt-in: light is the default whatever the OS prefers, and the
   header toggle sets data-theme="dark" on <html> (remembered in localStorage).
   The inline token style only carries values the owner chose (never the stock
   defaults), so a site that sets its own background or text colour wins here by
   being emitted after this sheet. */
:root[data-theme="dark"] {
  --hm-sumi: #ececea;
  --hm-sumi-soft: #d4d4d0;
  --hm-hai: #a3a3a8;
  --hm-label: #8a8a90;
  --hm-hair: #2c2c31;
  --hm-shiro: #1b1b1f;
  --hm-kinu: #2f2f35;
  --hm-kasumi: #1e1e22;
  --hm-bg: #111114;
  --hm-focus: #fafaf8;
  --ht-surface-2: var(--hm-shiro);
  color-scheme: dark;
}
[data-theme="dark"] .hm-tok--k { color: #b9a6f0; }
[data-theme="dark"] .hm-tok--s { color: #8fcf9d; }
[data-theme="dark"] .hm-tok--c { color: #77777e; }
[data-theme="dark"] .hm-cta--dark { background: #26262b; }

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

html { -webkit-text-size-adjust: 100%; }

body {
  min-height: 100vh; min-height: 100dvh;
  display: flex; flex-direction: column; /* short pages keep the footer at the bottom */
  margin: 0;
  overflow-x: clip; /* alignfull/alignwide use 100vw, which includes a classic scrollbar */
  background: var(--hm-bg);
  color: var(--hm-text);
  font-family: var(--hm-font);
  font-size: 1rem;
  line-height: 1.6;
  font-kerning: normal;
  font-feature-settings: "rlig" 1, "calt" 0, "ss11" 1;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--hm-font-heading); font-weight: 450; line-height: 1.15; letter-spacing: -0.04em; margin: 0 0 0.5em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1.02; letter-spacing: -0.06em; }
h2 { font-size: clamp(1.875rem, 3vw, 2.5rem); line-height: 1.12; }
h3 { font-size: 1.25rem; font-weight: 500; letter-spacing: -0.02em; line-height: 1.25; }
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
:focus-visible { outline: 2px solid var(--hm-focus); outline-offset: 3px; border-radius: 2px; }
code, kbd, pre, samp { font-family: var(--hm-font-mono); }
img, svg, video { max-width: 100%; height: auto; }
picture { display: contents; }

.hm-container { width: 100%; max-width: var(--hm-container); margin: 0 auto; padding: 0 1.5rem; }

.hm-skip {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--ht-fg); color: var(--hm-bg); padding: 0.5rem 1rem;
}
.hm-skip:focus { left: 0.5rem; top: 0.5rem; }
main { flex: 1 0 auto; }
main:focus { outline: none; } /* focus target of the skip link, not a control */
.hm-visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Sections: hairline separated bands. */
.hm-section { padding: clamp(4rem, 8vw, 7rem) 0; border-top: 1px solid var(--hm-hair); }
.hm-section:first-child { border-top: 0; }

/* Buttons: pill, shu fill for the primary CTA, hairline outline for the rest. */
.hm-btn {
  white-space: nowrap; display: inline-flex; align-items: center; gap: 0.5rem; min-height: 2.5rem; padding: 0 1.1rem; border-radius: 999px;
  background: var(--hm-primary); color: #fff; text-decoration: none; font-size: 0.875rem; font-weight: 500; line-height: 1.2;
  border: 1px solid var(--hm-primary); transition: background 0.15s, border-color 0.15s, filter 0.15s;
}
.hm-btn:hover { filter: brightness(0.88); }

/* Header + nav */
.hm-header {
  position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--hm-hair);
  background: color-mix(in srgb, var(--hm-bg) 92%, transparent); -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
}
.hm-header__inner { display: flex; align-items: center; gap: 1.5rem; height: 4rem; }
.hm-logo { flex: none; white-space: nowrap; display: inline-flex; align-items: center; gap: 0.65rem; color: var(--hm-text); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.32em; text-transform: uppercase; text-decoration: none; }
.hm-logo__mark { display: inline-grid; place-items: center; width: 1.75rem; height: 1.75rem; border-radius: var(--hm-radius-sm); background: var(--hm-text); color: var(--hm-bg); font-size: 0.875rem; font-weight: 700; letter-spacing: 0; text-transform: none; }
.hm-logo img { display: block; }
.hm-nav-wrap { margin-left: auto; }
.hm-nav { position: relative; font-size: 0.875rem; }
.hm-nav__toggle { cursor: pointer; list-style: none; padding: 0.4rem 0.2rem; font-weight: 500; color: var(--hm-hai); }
.hm-nav__toggle::-webkit-details-marker { display: none; }
.hm-nav__list, .hm-nav__sub { list-style: none; margin: 0; padding: 0; }
.hm-nav__list {
  position: absolute; right: 0; top: 100%; min-width: 14rem; z-index: 50;
  background: var(--hm-bg); border: 1px solid var(--ht-line); border-radius: var(--hm-radius-md); padding: 0.5rem;
}
.hm-nav__list a { display: block; padding: 0.35rem 0.5rem; color: var(--hm-hai); text-decoration: none; }
.hm-nav__list a:hover { color: var(--hm-text); background: var(--ht-surface-2); border-radius: var(--hm-radius-sm); }
.hm-nav__sub { padding-left: 0.75rem; }
.hm-nav__toggle:focus-visible { outline: 2px solid var(--hm-focus); outline-offset: 2px; }
/* Mobile: a scrim behind the open menu. The header's backdrop-filter makes it the
   containing block of fixed children, so this covers the viewport only while the
   sticky header is at the top, which it always is. z-index -1 keeps it under the header content. */
@media (max-width: 47.99rem) {
  .hm-nav[open]::before { content: ""; position: fixed; z-index: -1; left: 0; top: 0; width: 100vw; height: 100vh; background: rgba(0, 0, 0, 0.35); }
}
.hm-nav a[aria-current="page"], .hm-footer a[aria-current="page"] { color: var(--hm-text); font-weight: 500; }

@media (min-width: 48rem) {
  .hm-nav > summary { display: none; }
  .hm-nav::details-content { content-visibility: visible; display: contents; } /* no-JS: list shows without [open] */
  .hm-nav > .hm-nav__list { display: flex; }
  .hm-nav > .hm-nav__list {
    position: static; border: 0; padding: 0; min-width: 0; background: transparent; gap: 1.75rem; align-items: center;
  }
  .hm-header__cta { min-height: 2.125rem; padding: 0 0.9rem; font-size: 0.8125rem; }
  .hm-nav__list > li { position: relative; }
  .hm-nav__sub {
    display: none; position: absolute; left: 0; top: 100%; min-width: 12rem; padding: 0.5rem;
    background: var(--hm-bg); border: 1px solid var(--ht-line); border-radius: var(--hm-radius-md);
  }
  .hm-nav__list > li:hover > .hm-nav__sub, .hm-nav__list > li:focus-within > .hm-nav__sub { display: block; }
}

/* Menu item styling declared in theme.json ("menu"). Classes sit on the link, the
   plain-text span or the footer heading; :is() keeps them above the list rules. */
.hm-nav__list :where(li) > span { display: block; padding: 0.35rem 0.5rem; color: var(--hm-hai); }
:is(a, span, p).hm-nav__item--default { font-weight: 400; }
:is(a, span, p).hm-nav__item--button {
  display: inline-block; padding: 0.4rem 0.9rem; border-radius: var(--hm-radius-sm);
  background: var(--hm-primary); color: var(--hm-bg); font-weight: 500;
}
.hm-nav__sub .hm-nav__item--button { margin-top: 0.25rem; }
:is(a, span, p).hm-nav__item--button:hover { background: var(--hm-shu-dark); color: var(--hm-bg); }
:is(a, span, p).hm-nav__item--link { text-decoration: underline; text-underline-offset: 0.2em; }
:is(a, span, p).hm-nav__item--muted { color: var(--hm-label); font-weight: 400; }
:is(a, span, p).hm-nav-color--accent { color: var(--hm-primary); }
:is(a, span, p).hm-nav-color--ink { color: var(--hm-text); }
:is(a, span, p).hm-nav-color--muted { color: var(--hm-label); }
:is(a, span, p).hm-nav-color--danger { color: var(--hm-shu-dark); }
/* A button keeps its fill: a colour class on a button recolours the fill (never the text, which
   would match the primary fill) and the label is white on the red fills, the page background on ink and muted (both flip with the dark set). */
:is(a, span, p).hm-nav__item--button.hm-nav-color--accent { background: var(--hm-primary); color: #ffffff; }
:is(a, span, p).hm-nav__item--button.hm-nav-color--ink { background: var(--hm-text); color: var(--hm-bg); }
:is(a, span, p).hm-nav__item--button.hm-nav-color--muted { background: var(--hm-label); color: var(--hm-bg); }
:is(a, span, p).hm-nav__item--button.hm-nav-color--danger { background: var(--hm-shu-dark); color: #ffffff; }
/* The plain button darkens on hover (rule above); a coloured one has the same specificity and comes later, so it needs its own hover. */
:is(a, span, p).hm-nav__item--button[class*="hm-nav-color--"]:hover { filter: brightness(0.9); }
.hm-nav__badge {
  display: inline-block; margin-left: 0.35em; padding: 0 0.4em; border: 1px solid var(--hm-hair);
  border-radius: var(--hm-radius-sm); font-size: 0.6875rem; font-weight: 500; line-height: 1.5; vertical-align: middle;
}
.hm-nav__badge--new { background: var(--hm-primary); border-color: var(--hm-primary); color: var(--hm-bg); }
.hm-nav__badge--beta { color: var(--hm-hai); }
.hm-nav__list [data-icon]::after, .hm-footer [data-icon]::after, .hm-menu [data-icon]::after {
  content: ""; display: inline-block; width: 1em; height: 1em; margin-left: 0.3em; vertical-align: -0.1em;
  background: currentColor; mask: var(--hm-menu-icon) center / contain no-repeat;
}
[data-icon="arrow"] { --hm-menu-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E"); }
[data-icon="external"] { --hm-menu-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M14 4h6v6M20 4l-9 9M18 14v6H4V6h6'/%3E%3C/svg%3E"); }
[data-icon="doc"] { --hm-menu-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M6 3h8l4 4v14H6zM14 3v4h4'/%3E%3C/svg%3E"); }
@media (max-width: 47.99rem) { li:has(> .hm-show-desktop), .hm-show-desktop { display: none; } }
@media (min-width: 48rem) { li:has(> .hm-show-mobile), .hm-show-mobile { display: none; } }

/* Footer */
.hm-footer { border-top: 1px solid var(--hm-hair); background: var(--hm-bg); padding: 3rem 0 2.25rem; color: var(--hm-hai); font-size: 0.8125rem; }
.hm-footer a { color: var(--hm-hai); text-decoration: none; }
.hm-footer a:hover { color: var(--hm-text); }
.hm-footer__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: 2rem; margin-bottom: 2rem; }
.hm-footer__title { color: var(--hm-text); font-weight: 500; margin-bottom: 0.5rem; }
.hm-footer ul { list-style: none; margin: 0; padding: 0; }
.hm-footer li { margin: 0.25rem 0; }
.hm-social { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 1rem !important; }
.hm-footer__legal { margin: 0; }
.hm-footer__top { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 2fr); gap: 2.5rem; margin-bottom: 2.5rem; }
.hm-footer__brand .hm-logo { margin-bottom: 0.75rem; color: var(--hm-text); }
.hm-footer__desc { max-width: 34ch; margin: 0; }
.hm-footer__top .hm-footer__cols { margin-bottom: 0; }
.hm-footer__title { font-family: var(--hm-font-mono); font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--hm-label); }
.hm-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem; padding-top: 1.5rem; border-top: 1px solid var(--hm-hair); }
@media (max-width: 48rem) { .hm-footer__top { grid-template-columns: 1fr; } }

/* Errors */
.hm-error { padding: 6rem 0; text-align: center; }
.hm-error__code { font-size: 0.9rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--hm-label); margin-bottom: 0.5rem; }

/* Sanitised html / rich-text bodies */
.hm-html-body { line-height: 1.7; }
.hm-html-body > :first-child { margin-top: 0; }
.hm-html-body > :last-child { margin-bottom: 0; }
.hm-html-body h2 { margin-top: 2em; }
.hm-html-body h3 { margin-top: 1.5em; }
.hm-html-body ul, .hm-html-body ol { padding-left: 1.4em; margin: 0 0 1em; }
.hm-html-body li { margin: 0.25em 0; }
.hm-html-body blockquote { margin: 1.5em 0; padding: 0 1em; border-left: 3px solid var(--ht-line); color: var(--ht-fg-muted); }
.hm-html-body pre, .hm-html-body code { font-family: var(--hm-font-mono); font-size: 0.9em; }
.hm-html-body pre { background: var(--ht-surface-2); border: 1px solid var(--ht-line); border-radius: var(--hm-radius-md); padding: 1rem; overflow-x: auto; }
.hm-html-body :not(pre) > code { background: var(--ht-surface-2); padding: 0.1em 0.35em; border-radius: var(--hm-radius-sm); }
.hm-html-body table { border-collapse: collapse; width: 100%; margin: 1.5em 0; }
.hm-html-body th, .hm-html-body td { border: 1px solid var(--ht-line); padding: 0.5rem 0.75rem; text-align: left; }
.hm-html-body details { border: 1px solid var(--ht-line); border-radius: var(--hm-radius-md); padding: 0.75rem 1rem; margin: 0.75rem 0; }
.hm-html-body summary { cursor: pointer; font-weight: 600; }
.hm-html-body hr { border: 0; border-top: 1px solid var(--ht-line); margin: 2em 0; }
.hm-html-body img { border-radius: var(--hm-radius-md); }

.hm-prose, .hm-html-body { color: var(--hm-hai); }

/* Light/dark toggle in the header: invisible until the head script wires it up. It keeps its box meanwhile
   (visibility, not display), so showing it does not push the nav sideways (layout shift). */
.hm-theme-toggle {
  flex: none; display: inline-grid; place-items: center; width: 2.125rem; height: 2.125rem; padding: 0;
  border: 1px solid var(--hm-hair); border-radius: 999px; background: transparent; color: var(--hm-hai); cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}
.hm-theme-toggle[hidden] { display: inline-grid; visibility: hidden; }
.hm-theme-toggle:hover { color: var(--hm-text); border-color: var(--hm-text); }
.hm-theme-toggle:focus-visible { outline: 2px solid var(--hm-focus); outline-offset: 2px; }
.hm-theme-toggle svg { width: 1rem; height: 1rem; }
.hm-theme-toggle__sun, [data-theme="dark"] .hm-theme-toggle__moon { display: none; }
[data-theme="dark"] .hm-theme-toggle__sun { display: block; }

@media (max-width: 47.99rem) {
  .hm-header__inner { gap: 0.75rem; }
  .hm-logo { letter-spacing: 0.18em; gap: 0.5rem; }
}

/* Shared section partials: section-head, code-panel. */
.hm-section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 4rem; align-items: end; margin-bottom: 3rem; }
.hm-section-head__eyebrow { margin: 0 0 1rem; font-family: var(--hm-font-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--hm-label); }
.hm-section-head__heading { margin: 0; font-size: clamp(1.75rem, 3.4vw, 2.75rem); }
.hm-section-head__subheading { margin: 0; color: var(--hm-hai); font-size: 1.0625rem; line-height: 1.6; }
.hm-frame { min-width: 0; max-width: 100%; border: 1px solid var(--hm-hair); border-radius: var(--hm-radius-lg); background: var(--hm-kasumi); overflow: hidden; }
.hm-frame__bar { display: flex; align-items: center; gap: 0.75rem; padding: 0.625rem 1rem; border-bottom: 1px solid var(--hm-hair); background: var(--hm-shiro); font-family: var(--hm-font-mono); font-size: 0.75rem; color: var(--hm-hai); }
.hm-frame__dots { display: inline-flex; gap: 0.35rem; }
.hm-frame__dots i { width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--hm-kinu); }
.hm-frame__title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--hm-text); }
.hm-frame__meta { flex-shrink: 0; margin-left: auto; white-space: nowrap; color: var(--hm-label); }
.hm-frame .hm-code { max-width: 100%; } /* long lines scroll inside the card instead of being clipped */
.hm-code { margin: 0; padding: 1.25rem; overflow-x: auto; font-size: 0.8125rem; line-height: 1.65; color: var(--hm-sumi-soft); tab-size: 2; }
.hm-code code { font-family: inherit; white-space: pre; }
.hm-tok--k { color: #5b4a8a; }
.hm-tok--s { color: #3f6e4a; }
.hm-tok--c { color: #9a9a9f; }
.hm-outs { display: flex; flex-wrap: wrap; gap: 1px; margin: 1rem 0 0; background: var(--hm-hair); border: 1px solid var(--hm-hair); border-radius: var(--hm-radius-md); overflow: hidden; }
.hm-outs > div { flex: 1 1 8rem; padding: 0.75rem 1rem; background: var(--hm-bg); }
.hm-outs dt { font-family: var(--hm-font-mono); font-size: 0.6875rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--hm-label); }
.hm-outs dd { margin: 0.25rem 0 0; font-size: 0.9375rem; }
@media (max-width: 960px) { .hm-section-head { grid-template-columns: 1fr; gap: 1rem; margin-bottom: 2rem; } }

/* Blog layouts: single post, archive, taxonomy, author and search. */

/* Listing header (archive, taxonomy, author, search) */
.hm-listing { padding-top: clamp(2.5rem, 6vw, 5rem); padding-bottom: clamp(3rem, 6vw, 6rem); }
.hm-listing__header { margin-bottom: 2.5rem; }
.hm-listing__eyebrow { margin: 0 0 0.75rem; font-family: var(--hm-font-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--hm-label); }
.hm-listing__title { margin: 0 0 0.5rem; font-size: clamp(2rem, 4.5vw, 3.25rem); }
.hm-listing__lede { margin: 0 0 1.25rem; color: var(--hm-hai); font-size: 1.0625rem; }
.hm-empty { color: var(--hm-hai); padding: 2rem 0; }
.hm-author-head { display: flex; align-items: flex-start; gap: 1.5rem; }
.hm-author-head .hm-listing__lede { margin-bottom: 0; }

/* Cards */
.hm-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); gap: 2rem 1.75rem; align-items: start; } /* start: a short, imageless card is not stretched to the tallest in its row */
.hm-card { display: flex; flex-direction: column; border: 1px solid var(--hm-hair); border-radius: var(--hm-radius-lg); background: var(--hm-bg); overflow: hidden; transition: border-color 0.15s, transform 0.15s; }
.hm-card:hover { border-color: var(--hm-kinu); transform: translateY(-2px); }
.hm-card:focus-within { border-color: var(--hm-hai); }
.hm-card__media { display: block; aspect-ratio: 16 / 9; background: var(--hm-kasumi); overflow: hidden; }
.hm-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hm-card__body { display: flex; flex-direction: column; padding: 1.25rem 1.375rem 1.375rem; }
.hm-card__cat { margin: 0 0 0.5rem; font-family: var(--hm-font-mono); font-size: 0.6875rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--hm-label); }
.hm-card__title { margin: 0 0 0.5rem; font-size: 1.25rem; font-weight: 500; letter-spacing: -0.02em; line-height: 1.25; }
.hm-card__title a { text-decoration: none; }
.hm-card__title a:hover { text-decoration: underline; }
.hm-card__excerpt { margin: 0 0 1rem; color: var(--hm-hai); font-size: 0.9375rem; }
.hm-card .hm-meta { margin: 0; }

/* Meta line: author, date, reading time */
.hm-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 1rem; margin: 0 0 1.5rem; font-size: 0.8125rem; color: var(--hm-label); }
.hm-meta a { color: var(--hm-hai); text-decoration: none; }
.hm-meta a:hover { color: var(--hm-text); text-decoration: underline; }
.hm-meta__author { display: inline-flex; align-items: center; gap: 0.5rem; }
.hm-avatar { border-radius: 50%; object-fit: cover; background: var(--hm-kasumi); }
.hm-avatar--sm { width: 1.5rem; height: 1.5rem; }
.hm-avatar--lg { width: 4.5rem; height: 4.5rem; flex: none; }

/* Term chips */
.hm-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; margin: 0 0 1.25rem; padding: 0; }
.hm-chip { display: inline-block; padding: 0.2rem 0.75rem; border: 1px solid var(--hm-hair); border-radius: 999px; font-size: 0.8125rem; color: var(--hm-hai); text-decoration: none; transition: border-color 0.15s, color 0.15s; }
.hm-chip:hover { border-color: var(--hm-hai); color: var(--hm-text); }

/* Single post */
.hm-article { max-width: 46rem; padding-top: clamp(2.5rem, 6vw, 5rem); padding-bottom: clamp(3rem, 6vw, 5rem); }
.hm-article__title { margin: 0 0 1rem; font-size: clamp(2.25rem, 5vw, 3.5rem); }
.hm-article__lede { margin: 0 0 1.25rem; font-size: 1.25rem; line-height: 1.5; color: var(--hm-hai); }
.hm-article__image { margin: 0 -1.5rem 2.5rem; }
.hm-article__image img { display: block; width: 100%; border-radius: var(--hm-radius-lg); }
.hm-article__footer { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--hm-hair); }
.hm-entry { font-size: 1.0625rem; line-height: 1.75; color: var(--hm-text); overflow-wrap: break-word; }
.hm-entry > :first-child { margin-top: 0; }
.hm-entry h2 { margin: 2em 0 0.6em; font-size: clamp(1.5rem, 3vw, 2rem); }
.hm-entry h3 { margin: 1.75em 0 0.5em; }
.hm-entry a { color: var(--hm-primary); }
.hm-entry pre { overflow-x: auto; padding: 1rem; background: var(--hm-kasumi); border: 1px solid var(--hm-hair); border-radius: var(--hm-radius-md); font-size: 0.875rem; }
.hm-entry :not(pre) > code { padding: 0.1em 0.35em; background: var(--hm-kasumi); border-radius: var(--hm-radius-sm); font-size: 0.9em; }
.hm-entry img { border-radius: var(--hm-radius-md); }
.hm-entry hr { border: 0; border-top: 1px solid var(--hm-hair); margin: 2.5em 0; }
.hm-page-body { padding-top: 3rem; padding-bottom: 3rem; max-width: 48rem; }

/* Author box and related posts */
.hm-author-box { display: flex; align-items: flex-start; gap: 1rem; margin-top: 2rem; padding: 1.25rem; border: 1px solid var(--hm-hair); border-radius: var(--hm-radius-lg); background: var(--hm-kasumi); }
.hm-author-box p { margin: 0; }
.hm-author-box .hm-meta { margin: 0; }
.hm-author-box .hm-author-bio { margin-top: 0.25rem; font-size: 0.9375rem; color: var(--hm-hai); }
.hm-related { padding-top: 2rem; padding-bottom: 5rem; border-top: 1px solid var(--hm-hair); }
.hm-related__title { font-size: 1.5rem; margin-bottom: 1.5rem; }

/* Pagination */
.hm-pagination { margin-top: 3rem; }
.hm-pagination ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; list-style: none; margin: 0; padding: 0; }
.hm-pagination a, .hm-pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 2.5rem; min-height: 2.5rem; padding: 0 0.75rem; border: 1px solid var(--hm-hair); border-radius: 999px; font-size: 0.875rem; color: var(--hm-hai); text-decoration: none; }
.hm-pagination span { border: 0; min-width: 1.5rem; padding: 0; }
.hm-pagination a:hover { border-color: var(--hm-hai); color: var(--hm-text); }
.hm-pagination a[aria-current="page"] { background: var(--hm-text); border-color: var(--hm-text); color: var(--hm-bg); }

/* Search form */
.hm-search { display: flex; gap: 0.75rem; margin: 1.5rem 0 1rem; max-width: 36rem; }
.hm-search .hm-btn { flex: none; }
.hm-search__input { flex: 1 1 auto; min-width: 0; min-height: 2.75rem; padding: 0 1rem; border: 1px solid var(--hm-kinu); border-radius: 999px; background: var(--hm-bg); color: var(--hm-text); font: inherit; }
.hm-search__input:focus-visible { border-color: var(--hm-text); }

@media (max-width: 47.99rem) {
  .hm-article__image { margin-inline: -1.5rem; }
  .hm-article__image img { border-radius: 0; }
}
.hm-empty-state { margin-top: 2.5rem; padding: 4rem 1.5rem; text-align: center; border: 1px dashed var(--hm-hair); border-radius: var(--hm-radius-lg); background: var(--hm-kasumi); }
.hm-empty-state__icon { display: inline-grid; place-items: center; width: 3rem; height: 3rem; border: 1px solid var(--hm-hair); border-radius: var(--hm-radius-md); background: var(--hm-bg); color: var(--hm-text); }
.hm-empty-state__title { margin: 1.25rem 0 0.5rem; font-size: 1.25rem; }
.hm-empty-state__text { max-width: 44ch; margin: 0 auto; color: var(--hm-hai); }
.hm-empty-state__actions { margin: 1.5rem 0 0; }

/* Changelog archive (archive-release layout) */
.hm-changelog__release { scroll-margin-top: 5rem; padding: 1.5rem 0 2rem; border-bottom: 1px solid var(--hm-hair); }
.hm-changelog__release:target { background: var(--hm-kasumi); box-shadow: -1rem 0 0 var(--hm-kasumi), 1rem 0 0 var(--hm-kasumi); border-radius: var(--hm-radius-sm); }
.hm-changelog__version { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; margin: 0 0 1rem; font-size: 1.5rem; }
.hm-changelog__date { margin-left: auto; font-size: 0.9375rem; font-weight: 400; }
.hm-changelog__channel { font-weight: 400; }
.hm-changelog__yanked { font-weight: 400; border-color: var(--hm-shu); color: var(--hm-shu); }
.hm-changelog__summary { margin: 0 0 1rem; color: var(--hm-hai); }
.hm-changelog__group { margin: 1.25rem 0 0.5rem; font-size: 0.8125rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--hm-hai); }
.hm-changelog__list { margin: 0; padding-left: 1.25rem; line-height: 1.6; }
.hm-changelog__list li + li { margin-top: 0.25rem; }
@media (max-width: 40rem) {
  .hm-changelog__version { font-size: 1.25rem; }
  .hm-changelog__date { margin-left: 0; flex-basis: 100%; }
}
.hm-changelog__crumbs, .hm-changelog__jump, .hm-changelog__majors { margin: 0 0 1rem; }
.hm-changelog__older { margin: 2rem 0 0.75rem; font-size: 1.25rem; }

/* Floating contact link: one fixed link, text is its name. */
.hm-contact-float {
  position: fixed;
  bottom: calc(1rem + env(safe-area-inset-bottom));
  z-index: 15; /* under the sticky header (20), so an open menu and its scrim cover it */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 1.25rem;
  border-radius: 999px;
  background: var(--hm-primary);
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}
.hm-contact-float--bottom-right { right: calc(1rem + env(safe-area-inset-right)); }
.hm-contact-float--bottom-left { left: calc(1rem + env(safe-area-inset-left)); }
/* The consent "Cookie settings" button owns the bottom-left corner: stack above it. */
body:has(.hm-consent-reopen) .hm-contact-float--bottom-left { bottom: calc(4rem + env(safe-area-inset-bottom)); }
/* Reserve room so the link never covers the last content or a focused control. */
html:has(.hm-contact-float) { scroll-padding-bottom: 5rem; }
body:has(.hm-contact-float) { padding-bottom: 5rem; }
.hm-contact-float:hover { filter: brightness(0.88); }
.hm-contact-float:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; box-shadow: 0 0 0 3px var(--hm-primary), 0 0 0 6px #fff; }
@media print { .hm-contact-float { display: none; } }

/* Docs layout (single-doc): sidebar menu, article, on-page TOC. */
.hm-doc { display: block; padding: 1.5rem 1.5rem 4rem; }
.hm-doc__nav, .hm-doc__toc { display: none; }
.hm-doc__navm { margin-bottom: 1.5rem; border: 1px solid var(--hm-hair); border-radius: var(--hm-radius-md); padding: 0.75rem 1rem; }
.hm-doc__navm summary { cursor: pointer; font-weight: 500; }
.hm-doc__navm summary:focus-visible, .hm-doc a:focus-visible { outline: 2px solid var(--hm-focus); outline-offset: 2px; }
.hm-doc__main { min-width: 0; }
/* The article is a readable column centred in its track. */
.hm-doc__main > * { max-width: 46rem; margin-inline: auto; }
.hm-doc__title { margin-block: 0 1.5rem; font-size: clamp(1.75rem, 4vw, 2.5rem); letter-spacing: -0.02em; }

/* Sidebar tree */
.hm-doc-nav { list-style: none; margin: 0; padding: 0; font-size: 0.9375rem; }
.hm-doc-nav .hm-doc-nav { margin: 0.25rem 0 0.5rem 0.75rem; padding-left: 0.75rem; border-left: 1px solid var(--hm-hair); }
.hm-doc-nav li { margin: 0.125rem 0; }
.hm-doc-nav a { display: block; padding: 0.25rem 0.5rem; border-radius: var(--hm-radius-sm); color: var(--hm-hai); text-decoration: none; }
.hm-doc-nav a:hover { color: var(--hm-text); background: var(--hm-kasumi); }
.hm-doc-nav a[aria-current="page"] { color: var(--hm-text); background: var(--hm-kasumi); font-weight: 600; box-shadow: inset 2px 0 0 var(--hm-primary); }
.hm-doc-nav__group { display: block; padding: 0.5rem 0.5rem 0.25rem; font-family: var(--hm-font-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--hm-hai); }

/* Collapsible sections */
.hm-doc-nav summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; padding: 0.375rem 0.5rem; border-radius: var(--hm-radius-sm); font-weight: 600; color: var(--hm-text); }
.hm-doc-nav summary::-webkit-details-marker { display: none; }
.hm-doc-nav summary::after { content: ""; width: 0.4rem; height: 0.4rem; margin-right: 0.25rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); transition: transform 0.15s; }
.hm-doc-nav details[open] > summary::after { transform: rotate(45deg); }
.hm-doc-nav summary:hover { color: var(--hm-text); background: var(--hm-kasumi); }
.hm-doc-nav summary:focus-visible { outline: 2px solid var(--hm-focus); outline-offset: 2px; }

/* Sidebar search */
.hm-doc__search { margin: 0 0 1rem; }
.hm-doc__search input[type="search"] { width: 100%; box-sizing: border-box; padding: 0.5rem 0.75rem; border: 1px solid var(--hm-hai); border-radius: var(--hm-radius-md); background: transparent; color: var(--hm-text); font: inherit; font-size: 0.875rem; }
.hm-doc__search input[type="search"]:focus-visible { outline: 2px solid var(--hm-focus); outline-offset: 2px; }

/* Breadcrumbs */
.hm-doc__crumbs ol { display: flex; flex-wrap: wrap; gap: 0.25rem 0.5rem; list-style: none; margin: 0 0 1rem; padding: 0; font-size: 0.8125rem; color: var(--hm-label); }
.hm-doc__crumbs li + li::before { content: "/"; margin-right: 0.5rem; }
.hm-doc__crumbs li + li[data-sep]::before { content: attr(data-sep); }
.hm-doc__crumbs a { color: var(--hm-hai); text-decoration: none; }
.hm-doc__crumbs a:hover { color: var(--hm-text); text-decoration: underline; }

/* Headings clear the sticky site header (4rem), like the essay aside in sections/content.css */
.hm-doc .hm-prose :is(h2, h3) { scroll-margin-top: 6rem; }

/* Prev / next */
.hm-doc__pager { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-block: 3rem 0; padding-top: 1.5rem; border-top: 1px solid var(--hm-hair); }
.hm-doc__pager a { display: block; padding: 0.75rem 1rem; border: 1px solid var(--hm-hair); border-radius: var(--hm-radius-md); text-decoration: none; }
.hm-doc__pager a:hover { border-color: var(--hm-hai); }
.hm-doc__pager span { display: block; font-size: 0.75rem; color: var(--hm-label); }
.hm-doc__next { margin-left: auto; text-align: right; }

/* Card grids on the landing page and section indexes */
/* Wider than the text but on its left edge: margin-left is the text column's offset. */
.hm-doc__main > .hm-doc-cards, .hm-doc__main > .hm-doc-cards__label { max-width: 60rem; margin-left: max(0px, calc((100% - 46rem) / 2)); margin-right: 0; }
.hm-doc-cards { list-style: none; margin-block: 0 2rem; margin-inline: auto; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); }
.hm-doc-cards__label { margin-block: 2rem 0.75rem; font-family: var(--hm-font-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--hm-hai); }
.hm-doc-card { position: relative; padding: 1rem; border: 1px solid var(--hm-hair); border-radius: var(--hm-radius-md); }
.hm-doc-card:hover, .hm-doc-card:focus-within { border-color: var(--hm-hai); }
.hm-doc-card__link { color: var(--hm-text); font-weight: 600; text-decoration: none; }
.hm-doc-card__link::after { content: ""; position: absolute; inset: 0; }
.hm-doc-card__link:focus-visible { outline: 2px solid var(--hm-focus); outline-offset: 2px; }
.hm-doc-card p { margin: 0.5rem 0 0; font-size: 0.875rem; color: var(--hm-hai); }

/* Next steps block at the end of a guide (list rendered by the docs tool) */
.hm-doc .hm-prose ul.hm-next-steps, .hm-doc .hm-prose h2#next-steps + ul { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr)); }
.hm-doc .hm-prose ul.hm-next-steps li, .hm-doc .hm-prose h2#next-steps + ul li { margin: 0; padding: 0.75rem 1rem; border: 1px solid var(--hm-hair); border-radius: var(--hm-radius-md); }
.hm-doc .hm-prose ul.hm-next-steps a, .hm-doc .hm-prose h2#next-steps + ul a { font-weight: 600; text-decoration: none; }

/* On-page TOC */
.hm-doc__toc-title { margin: 0 0 0.5rem; font-family: var(--hm-font-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--hm-hai); }
.hm-doc__toc ol { list-style: none; margin: 0; padding: 0; font-size: 0.875rem; }
.hm-doc__toc a { display: block; padding: 0.2rem 0; color: var(--hm-hai); text-decoration: none; }
.hm-doc__toc a:hover { color: var(--hm-text); text-decoration: underline; }
.hm-doc__toc-l3 { padding-left: 0.875rem; }

@media (min-width: 60rem) {
  /* Edge to edge: no container, a third track is kept (empty without a TOC) so the article stays centred. */
  .hm-doc { display: grid; grid-template-columns: 16rem minmax(0, 1fr) 14rem; gap: 2.5rem; align-items: start; }
  .hm-doc__navm { display: none; }
  /* The article comes first in the source so the skip link lands on it; the columns are placed here. */
  .hm-doc__nav { grid-column: 1; grid-row: 1; }
  .hm-doc__main { grid-column: 2; grid-row: 1; }
  .hm-doc__toc { grid-column: 3; grid-row: 1; }
  /* Without a TOC the article takes the third track (until wide screens, where the empty track keeps it centred). */
  .hm-doc:not(:has(.hm-doc__toc)) { grid-template-columns: 16rem minmax(0, 1fr); }
  .hm-doc__nav, .hm-doc__toc { display: block; position: sticky; top: 6rem; max-height: calc(100vh - 7rem); overflow-y: auto; padding: 4px; }
}

@media (min-width: 90rem) {
  .hm-doc:not(:has(.hm-doc__toc)) { grid-template-columns: 16rem minmax(0, 1fr) 14rem; }
}

/* TECO Energy Solutions theme.
   Bundled after the built-in theme's base.css, so it restyles hm-* markup and
   styles this theme's own te-* classes. The typeface is self-hosted (DM Sans, OFL). */

@font-face {
  font-family: "DM Sans";
  src: url("/theme/assets/fonts/dm-sans.woff2") format("woff2");
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}

:root, :root[data-theme="dark"] {
  --hm-primary: #0f9362;           /* buttons, rules, links: the owner's primary colour replaces this */
  --hm-bg: #ffffff;
  --hm-text: #7f7f7f;
  --te-navy: #0e427a;
  --te-navy-deep: #00467f;
  --te-ink: #111111;
  --te-tint: #ebf0f6;
  --te-line: #d9d9d9;
  --te-orange: #f05c2a;
  --hm-sumi: var(--te-ink);
  --hm-hai: var(--hm-text);
  --hm-label: var(--hm-text);
  --hm-hair: var(--te-line);
  --hm-shiro: #f6f7f9;
  --hm-kasumi: #f6f7f9;
  --hm-shu: var(--hm-primary);
  --hm-font: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --hm-font-heading: var(--hm-font);
  --hm-radius-sm: 0px;
  --hm-radius-md: 0px;
  --hm-radius-lg: 0px;
  --hm-container: 1640px;
  --te-gutter: 40px;
  --te-section: 100px;
  color-scheme: light;
}

html { scroll-behavior: smooth; scroll-padding-top: 165px; }
body.te-body { font-family: var(--hm-font); font-size: 18px; line-height: 1.5; font-weight: 400; color: var(--hm-text); background: var(--hm-bg); }
:where(.te-body) img { max-width: 100%; height: auto; }
:where(.te-body) :is(h1, h2, h3, h4) { letter-spacing: normal; text-wrap: balance; }
:where(.te-body) p { margin: 0 0 14px; }
:where(.te-body) p:last-child { margin-bottom: 0; }
.te-sr, .te-form__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.te-form__label--shown { position: static; width: auto; height: auto; overflow: visible; clip-path: none; white-space: normal; display: block; margin-bottom: 8px; }

.te-wrap { width: min(100% - 2 * var(--te-gutter), var(--hm-container)); margin-inline: auto; }
.hm-section[class*="hm-section--te_"], .hm-section--contact_form { padding: 0; margin: 0; border: 0; }

/* ---- buttons ---- */
.te-btn { display: inline-flex; align-items: center; justify-content: center; padding: 18px 36px; border: 1px solid var(--hm-primary); background: var(--hm-primary); color: #fff; font: 700 20px/26px var(--hm-font); text-transform: uppercase; text-decoration: none; text-align: center; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.te-btn:hover, .te-btn:focus-visible { background: var(--te-navy); border-color: var(--te-navy); color: #fff; }
.te-btn--block { display: flex; width: 100%; }
.te-btn--outline { background: transparent; border-color: #000; color: #000; font-weight: 500; padding: 19px 34px; }
.te-btn--outline:hover, .te-btn--outline:focus-visible { background: var(--te-navy); border-color: var(--te-navy); color: #fff; }

/* ---- headings with the green rule ---- */
.te-heading { margin: 0 0 40px; padding-bottom: 20px; border-bottom: 2px solid var(--hm-primary); color: var(--te-navy); font: 700 36px/47px var(--hm-font-heading); white-space: pre-line; }
.te-heading--light { color: #fff; }
.te-heading--wide { max-width: 1080px; }
.te-headrow { display: flex; align-items: flex-start; justify-content: space-between; gap: 30px 54px; margin-bottom: 114px; }
.te-headrow .te-heading { flex: 1 1 auto; max-width: 1080px; margin-bottom: 0; }
.te-headrow .te-btn { flex: none; padding: 17px 30px; }

/* ---- top bar ---- */
.te-topbar { border-bottom: 1px solid var(--te-line); background: #fff; color: #000; font-size: 16px; font-weight: 400; line-height: 35px; }
.te-topbar__inner { display: flex; align-items: center; justify-content: space-between; min-height: 50px; }
.te-topbar__sites { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0; padding: 0; list-style: none; }
.te-topbar__sites a { display: inline-flex; align-items: center; gap: 6px; color: inherit; text-decoration: none; }
.te-topbar__sites a::before { content: ""; width: 14px; height: 14px; background: currentColor; -webkit-mask: url("/theme/assets/icons/globe.svg") center / contain no-repeat; mask: url("/theme/assets/icons/globe.svg") center / contain no-repeat; }
.te-topbar__sites a[href*="appliances."]::before { width: 17px; height: 17px; -webkit-mask-image: url("/theme/assets/icons/appliance.svg"); mask-image: url("/theme/assets/icons/appliance.svg"); }
.te-topbar__sites a[href*="electricmotors."]::before { width: 16px; height: 16px; -webkit-mask-image: url("/theme/assets/icons/motor.svg"); mask-image: url("/theme/assets/icons/motor.svg"); }
.te-topbar__sites a:hover { color: var(--hm-primary); }
.te-social { display: flex; align-items: center; gap: 14px; margin: 0; padding: 0; list-style: none; }
.te-topbar__social { align-self: stretch; padding-inline: 26px; border-inline: 1px solid var(--te-line); }
.te-topbar__social a { display: block; width: 22px; height: 22px; background: var(--te-ink); -webkit-mask: center / contain no-repeat; mask: center / contain no-repeat; }
.te-topbar__social a span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.te-social a[href*="linkedin"] { -webkit-mask-image: url("/theme/assets/icons/linkedin.svg"); mask-image: url("/theme/assets/icons/linkedin.svg"); }
.te-social a[href*="facebook"] { -webkit-mask-image: url("/theme/assets/icons/facebook.svg"); mask-image: url("/theme/assets/icons/facebook.svg"); }
.te-social a[href*="instagram"] { -webkit-mask-image: url("/theme/assets/icons/instagram.svg"); mask-image: url("/theme/assets/icons/instagram.svg"); }
.te-social a[href*="youtube"] { -webkit-mask-image: url("/theme/assets/icons/youtube.svg"); mask-image: url("/theme/assets/icons/youtube.svg"); }
.te-topbar__social a[href*="linkedin"] { background: #0a66c2; }
.te-topbar__social a[href*="facebook"] { background: #1877f2; }
.te-topbar__social a[href*="instagram"] { background: #d62976; }
.te-topbar__social a[href*="youtube"] { background: #ff0000; }

/* ---- header ---- */
.te-header { position: sticky; top: 0; z-index: 30; background: #fff; box-shadow: 0 4px 14px rgba(0, 0, 0, .07); }
.te-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 145px; }
.te-brand { display: block; flex: none; line-height: 0; }
.te-brand img { width: 225px; height: auto; }
.te-nav__check { position: absolute; opacity: 0; pointer-events: none; }
.te-nav__toggle { display: none; }
.te-nav__panel { display: flex; align-items: center; gap: 38px; }
.te-nav__list { display: flex; align-items: center; gap: 32px; margin: 0; padding: 0; list-style: none; }
.te-nav__item { position: relative; }
.te-nav__list a, .te-nav__list span { display: inline-flex; align-items: center; gap: 8px; padding: 12px 0; color: #1c1c1c; font: 700 20px/30px var(--hm-font); text-decoration: none; cursor: pointer; }
.te-nav__list a:hover, .te-nav__item:focus-within > a, .te-nav__item:hover > a, .te-nav__item:hover > span { color: var(--hm-primary); }
.te-nav__item--parent > a::after, .te-nav__item--parent > span::after { content: ""; border: 6px solid transparent; border-top-color: currentColor; border-bottom-width: 0; margin-top: 2px; }
.te-nav__sub { position: absolute; top: 100%; left: -24px; min-width: 260px; margin: 0; padding: 12px 0; list-style: none; background: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, .12); border-top: 3px solid var(--hm-primary); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s; }
.te-nav__item:hover > .te-nav__sub, .te-nav__item:focus-within > .te-nav__sub { opacity: 1; visibility: visible; transform: none; }
.te-nav__sub a { display: block; padding: 10px 24px; font-size: 18px; font-weight: 500; }

/* ---- hero slider ---- */
.te-hero { position: relative; height: 587px; overflow: hidden; background: #1c1c1c; color: #fff; }
.te-hero__slide { position: absolute; inset: 0; display: flex; align-items: center; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility .8s; }
.te-hero__slide.is-active { opacity: 1; visibility: visible; }
.te-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.te-hero__slide::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .48); }
.te-hero__body { position: relative; z-index: 1; }
.te-hero__body--badge { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.te-hero__body--badge .te-hero__title { max-width: 480px; }
.te-hero__aside { flex: none; display: flex; flex-direction: column; align-items: center; gap: 48px; margin-right: 33px; }
.te-hero__badgeicon { width: 178px; height: auto; }
.te-hero__badge { display: block; width: 274px; height: auto; padding: 14px 22px; border-radius: 28px; background: #fff; }
.te-hero__title { max-width: 1100px; margin: 0 0 24px; color: #fff; font: 700 54px/70px var(--hm-font-heading); }
.te-body .te-hero__text { max-width: 620px; margin: 0 0 38px; font-size: 24px; line-height: 32px; color: #fff; }
.te-hero__arrow { position: absolute; top: 50%; z-index: 2; width: 26px; height: 44px; margin-top: -22px; padding: 0; border: 0; background: #fff; cursor: pointer; opacity: .85; -webkit-mask: url("/theme/assets/icons/chevron.svg") center / 26px no-repeat; mask: url("/theme/assets/icons/chevron.svg") center / 26px no-repeat; }
.te-hero__arrow:hover { opacity: 1; }
.te-hero__arrow--prev { left: 0; transform: scaleX(-1); }
.te-hero__arrow--next { right: 0; }

/* ---- newsletter ---- */
.te-newsletter { padding: 72px 0 88px; background: var(--te-navy-deep) url("/theme/assets/img/bg-newsletter.svg") center / cover no-repeat; color: #fff; }
.te-newsletter__inner { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.te-newsletter__intro { flex: 1 1 auto; max-width: 1038px; }
.te-newsletter .te-heading { margin-bottom: 18px; border-bottom-width: 2px; }
.te-newsletter__form { position: relative; display: flex; flex: none; width: 390px; margin: 0; }
.te-newsletter__form input[type="email"] { flex: 1 1 auto; min-width: 0; height: 64px; padding: 0 26px; border: 0; border-radius: 3px 0 0 3px; background: #fff; color: var(--te-ink); font: 400 18px var(--hm-font); }
.te-newsletter__form button { flex: none; position: relative; width: 61px; height: 64px; border: 0; border-radius: 0 3px 3px 0; background: var(--hm-primary); cursor: pointer; }
.te-newsletter__form button::before { content: ""; position: absolute; inset: 0; background: #fff; -webkit-mask: url("/theme/assets/icons/chevron.svg") center / 26px no-repeat; mask: url("/theme/assets/icons/chevron.svg") center / 26px no-repeat; }
.te-newsletter__form button:hover { background: var(--te-orange); }

/* ---- product cards ---- */
.te-products { padding: var(--te-section) 0 116px; }
.te-bg--transformers { background: linear-gradient(rgba(240, 241, 243, .62), rgba(240, 241, 243, .62)), #dadbdd url("/theme/assets/img/bg-transformers.webp") center / cover no-repeat; }
.te-bg--busway { background: #f5f7fb url("/theme/assets/img/bg-busway.webp") center / cover no-repeat; }
.te-products .te-headrow { margin-bottom: 0; }
.te-products__grid { display: grid; gap: 24px; margin-top: 100px; }
.te-bg--busway .te-products__grid { margin-top: 115px; }
.te-card { background: #fff; box-shadow: 0 3px 16px rgba(0, 0, 0, .06); }
.te-card__media { line-height: 0; text-align: center; }
.te-card__title { margin: 0 0 14px; color: var(--te-navy); font: 700 24px/31px var(--hm-font-heading); text-transform: uppercase; text-wrap: wrap; }
.te-card__text { margin: 0; }
.te-card .te-btn { margin-top: 44px; }
.te-products--columns .te-products__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.te-products--columns .te-card__media img { width: 100%; }
.te-products--columns .te-card__body { padding: 20px 40px 68px; }
.te-products--featured .te-products__grid { grid-template-columns: minmax(0, 447fr) minmax(0, 889fr); }
.te-products--featured .te-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 443px); align-items: center; gap: 40px; padding: 50px 46px; }
.te-products--featured .te-card__title { max-width: 315px; }
.te-products--featured .te-card__media img { max-height: 300px; width: auto; }
.te-products--featured .te-card:first-child { grid-row: span 2; display: block; padding: 50px 46px 60px; }
.te-products--featured .te-card:first-child .te-card__media { margin-bottom: 40px; }
.te-products--featured .te-card:first-child .te-card__media img { width: 100%; max-height: 460px; object-fit: contain; }

/* ---- before / after ---- */
.te-compare-section { padding-top: var(--te-section); }
.te-compare { --te-pos: 50%; position: relative; aspect-ratio: 3840 / 1876; overflow: hidden; background: #f3f5f7; line-height: 0; }
.te-compare__img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.te-compare__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--te-pos)) 0 0); }
.te-compare__handle { position: absolute; top: 0; bottom: 0; left: var(--te-pos); width: 4px; margin-left: -2px; background: var(--hm-primary); pointer-events: none; }
.te-compare__handle::before { content: ""; position: absolute; top: 50%; left: 50%; width: 50px; height: 50px; margin: -25px 0 0 -25px; border-radius: 50%; background: var(--hm-primary); }
.te-compare__handle::after { content: ""; position: absolute; top: 50%; left: 50%; width: 22px; height: 14px; margin: -7px 0 0 -11px; background: linear-gradient(#fff, #fff) center / 2px 100% no-repeat; clip-path: polygon(0 50%, 36% 0, 36% 100%, 0 50%, 100% 50%, 64% 0, 64% 100%, 100% 50%); background: #fff; }
.te-compare__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.te-compare__range:focus-visible + .te-compare__handle, .te-compare:focus-within .te-compare__handle::before { outline: 3px solid #fff; outline-offset: 2px; }

/* ---- brochure ---- */
.te-brochure { padding: var(--te-section) 0; }
.te-brochure__inner { display: grid; grid-template-columns: minmax(0, 650px) minmax(0, 1fr); align-items: center; gap: 60px; }
.te-brochure--left .te-brochure__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 650px); }
.te-brochure--left .te-brochure__cover { order: -1; }
.te-brochure__cover { width: min(100%, 380px); margin-inline: auto; line-height: 0; }
.te-brochure__cover img { display: block; width: 100%; box-shadow: 0 10px 40px rgba(14, 66, 122, .22); }
.te-brochure__cover .te-btn { margin-top: 24px; line-height: 26px; }
.te-prose p { margin: 0 0 14px; }

/* ---- industries ---- */
.te-industries { padding: 100px 0; }
.te-industries__inner { display: grid; grid-template-columns: minmax(0, 390px) minmax(0, 1080px); justify-content: space-between; gap: 40px; }
.te-industries__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.te-tile { position: relative; display: flex; align-items: center; height: 194px; overflow: hidden; border-radius: 2px; background: var(--hm-primary); box-shadow: 0 3px 12px rgba(0, 0, 0, .12); }
.te-tile__bg { position: absolute; inset: 0 0 0 66px; width: calc(100% - 66px); height: 100%; max-width: none; object-fit: cover; }
.te-tile__icon { position: relative; flex: none; width: 114px; height: auto; margin-left: 25px; }
.te-tile__label { position: relative; max-width: 238px; margin-left: 36px; color: #fff; font: 700 24px/31px var(--hm-font-heading); text-transform: uppercase; white-space: pre-line; text-shadow: 0 1px 6px rgba(0, 0, 0, .35); }

/* ---- why partner ---- */
.te-partner { padding: 100px 0; border-top: 6px solid var(--hm-primary); background: var(--te-navy-deep) url("/theme/assets/img/bg-partner.svg") center / cover no-repeat; color: var(--hm-text); }
.te-partner .te-heading { margin-bottom: 100px; }
.te-partner__inner { display: grid; grid-template-columns: minmax(0, 545px) minmax(0, 1fr); gap: 114px; align-items: stretch; }
.te-partner__list { display: grid; gap: 24px; margin: 0; padding: 0; list-style: none; }
.te-reason { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: 249px; margin-left: 57px; padding: 24px 36px 24px 110px; background: #fff; }
.te-reason__icon { position: absolute; top: 50%; left: -57px; width: 116px; height: 116px; margin-top: -58px; border-radius: 50%; }
.te-partner__video { position: relative; line-height: 0; margin-right: calc((100vw - min(100vw - 2 * var(--te-gutter), var(--hm-container))) / -2); }
.te-partner__video a { display: block; height: 100%; }
.te-partner__video img { width: 100%; height: 100%; object-fit: cover; }
.te-partner__frame { display: block; width: 100%; height: 100%; min-height: 320px; border: 0; background: #000; }
.te-play { position: absolute; top: 50%; left: 50%; width: 100px; height: 100px; margin: -50px 0 0 -50px; border-radius: 50%; background: #fff; box-shadow: 0 4px 20px rgba(0, 0, 0, .25); transition: transform .2s; }
.te-play::before { content: ""; position: absolute; inset: 26px 24px 26px 30px; background: var(--hm-primary); -webkit-mask: url("/theme/assets/icons/play.svg") center / contain no-repeat; mask: url("/theme/assets/icons/play.svg") center / contain no-repeat; }
.te-partner__video a:hover .te-play { transform: scale(1.08); }

/* ---- certifications ---- */
.te-certs__head { padding: 100px 0 120px; background: var(--te-tint); }
.te-certs__headinner { display: grid; grid-template-columns: minmax(0, 666px) minmax(0, 528px); justify-content: space-between; gap: 40px; align-items: start; }
.te-certs__headinner .te-heading { margin-bottom: 0; max-width: 250px; min-width: 100%; }
.te-certs__band { position: relative; background: var(--te-tint); }
.te-certs__band::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 281px; background: #fff; box-shadow: 0 6px 14px rgba(14, 66, 122, .08); }
.te-certs__grid { position: relative; }
.te-certs__grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 0; list-style: none; }
.te-certs__grid::-webkit-scrollbar { display: none; }
.te-cert { flex: 0 0 25%; scroll-snap-align: start; padding-inline: 15px; }
.te-certs__grid.te-wrap { margin-block: 0; }
.te-cert { text-align: center; }
.te-cert__logo { display: flex; align-items: center; justify-content: center; height: 281px; }
.te-cert__logo img { max-height: 215px; width: auto; }
.te-cert__body { padding: 44px 0 46px; }
.te-cert__body h3 { margin: 0 0 14px; color: var(--te-navy); font: 700 24px/31px var(--hm-font-heading); }
.te-body .te-cert__body p { max-width: 215px; margin-inline: auto; color: var(--te-navy); white-space: pre-line; }

/* ---- enquiry form ---- */
.te-contact { padding: 100px 0 150px; background: url("/theme/assets/img/bg-wave.webp") center bottom / 100% auto no-repeat; }
.te-contact__inner { display: grid; grid-template-columns: minmax(0, 421px) minmax(0, 816px); justify-content: space-between; gap: 40px; align-items: start; }
.te-contact__card { padding: 70px; background: #fff; box-shadow: 0 0 30px rgba(0, 0, 0, .08); }
.te-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; margin: 0; }
.te-form__field { grid-column: 1 / -1; min-width: 0; }
.te-form__field--half { grid-column: span 1; }
.te-form input[type="text"], .te-form input[type="email"], .te-form input[type="tel"], .te-form input[type="number"], .te-form input[type="url"], .te-form input[type="date"], .te-form select, .te-form textarea { display: block; width: 100%; height: 50px; padding: 0 40px; border: 1px solid #e0e0e0; border-radius: 2px; background: #fff; color: var(--te-ink); font: 400 18px/1.4 var(--hm-font); }
.te-form textarea { height: 192px; padding-block: 24px; resize: vertical; }
.te-form select { padding-right: 20px; }
.te-form ::placeholder { color: var(--hm-text); opacity: 1; }
.te-form input:focus-visible, .te-form select:focus-visible, .te-form textarea:focus-visible, .te-newsletter__form input:focus-visible { outline: 2px solid var(--hm-primary); outline-offset: 1px; }
.te-form__drop { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; min-height: 196px; padding: 24px; border: 1px dashed #777; color: #4a4a4a; font-size: 14px; text-align: center; }
.te-form__drop.is-over, .te-form__drop:focus-within { border-color: var(--hm-primary); background: #f3faf7; }
.te-form__drop input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.te-form__dropicon { width: 36px; height: 30px; background: #2f5bd7; -webkit-mask: url("/theme/assets/icons/upload.svg") center / contain no-repeat; mask: url("/theme/assets/icons/upload.svg") center / contain no-repeat; }
.te-form__dropbtn { margin-top: 14px; }
.te-form__dropname:not(:empty) { color: var(--te-ink); font-weight: 500; }
.te-form__help { display: block; margin-top: 8px; }
.te-form__submit { min-width: 244px; padding-block: 20px; }
.te-form__success, .te-form__error { margin: 0 0 24px; padding: 16px 20px; border-left: 4px solid var(--hm-primary); background: #eef8f3; color: var(--te-ink); }
.te-form__error { border-color: #c0392b; background: #fdf0ee; }

/* ---- centred promotion (giveaway page) and its plain entry form ---- */
.te-promo { padding: 39px 0 20px; text-align: center; }
.te-promo__inner { display: flex; flex-direction: column; align-items: center; }
.te-promo__title { margin: 0 0 47px; color: var(--te-navy); font: 700 25px/33px var(--hm-font-heading); }
.te-promo__heading { max-width: 300px; margin: 0; color: var(--te-navy); font: 700 25px/33px var(--hm-font-heading); }
.te-promo__img { display: block; width: min(100%, 768px); margin: 0 0 39px; }
.te-promo__intro { max-width: 864px; color: #000; }
.te-promo__intro :is(h3, h4, p) { margin: 0 0 16px; color: #000; font: 500 24px/28.8px var(--hm-font-heading); }
.te-promo__subheading { margin: 38px 0 18px; color: var(--te-navy); font: 500 32px/38.4px var(--hm-font-heading); }
.te-promo__features { max-width: 330px; margin: 0; padding: 0; list-style: none; color: var(--te-navy); font-size: 18px; line-height: 27px; font-weight: 700; }
.te-promo__features li { margin: 0 0 14px; }
.te-plainform { padding: 30px 0 80px; }
.te-plainform__inner { width: min(100% - 2 * var(--te-gutter), 1152px); }
.te-plainform__heading { margin: 0 0 30px; color: var(--hm-text); font: 500 32px/38.4px var(--hm-font-heading); }
.te-form--plain { gap: 26px 12px; }
.te-form--plain .te-form__label { position: static; width: auto; height: auto; overflow: visible; clip-path: none; white-space: normal; display: block; margin-bottom: 6px; color: #112337; font-size: 14px; font-weight: 500; }
.te-form--plain input[type="text"], .te-form--plain input[type="email"], .te-form--plain input[type="tel"], .te-form--plain select, .te-form--plain textarea { height: 38px; padding: 0 10px; border: 1px solid #686e77; border-radius: 3px; font-size: 15px; }
.te-form--plain textarea { height: 140px; padding-block: 8px; }
.te-form--plain ::placeholder { color: transparent; }
.te-form__plainsubmit { padding: 8px 16px; border: 0; border-radius: 3px; background: #204ce5; color: #fff; font: 500 14px/20px var(--hm-font); cursor: pointer; }
.te-form__plainsubmit:hover { background: #1a3cb8; }

/* ---- project page: banner, figures, photo + text, contact band ---- */
.te-banner { position: relative; display: flex; align-items: center; min-height: 428px; overflow: hidden; background: #1c1c1c; }
.te-banner__bg { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.te-banner::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .38); }
.te-banner__body { position: relative; z-index: 1; padding-block: 60px; }
.te-body .te-banner .te-hero__text { margin-bottom: 0; }
.te-stats { padding-top: 120px; }
.te-stats__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; margin-block: 0; padding-bottom: 20px; border-bottom: 2px solid var(--hm-primary); text-align: center; }
.te-stat { display: flex; flex-direction: column-reverse; }
.te-stat dd { margin: 0 0 14px; color: var(--te-navy); font: 700 45px/70px var(--hm-font-heading); }
.te-stat dt { color: var(--te-ink); font-size: 18px; }
.te-mediatext { padding: 100px 0 130px; }
.te-mediatext__inner { display: grid; grid-template-columns: minmax(0, 780px) minmax(0, 1fr); align-items: center; gap: 40px; }
.te-mediatext--right .te-mediatext__media { order: 1; }
.te-mediatext__media img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.te-body .te-mediatext__lead { margin-bottom: 20px; color: var(--te-navy); font: 700 25px/37.5px var(--hm-font-heading); }
.te-mediatext .te-prose { font-size: 20px; line-height: 30px; }
.te-band { padding: 70px 0 78px; }
.te-band .te-heading { margin-bottom: 30px; max-width: 1080px; }
.te-band__list { display: flex; flex-wrap: wrap; gap: 16px 35px; margin: 0; padding: 0; list-style: none; }
.te-band__link { display: inline-flex; align-items: center; gap: 29px; color: #fff; font: 700 24px/31px var(--hm-font); text-decoration: none; }
.te-band__link::before { content: ""; width: 26px; height: 26px; background: #fff; -webkit-mask: url("/theme/assets/icons/phone.svg") center / contain no-repeat; mask: url("/theme/assets/icons/phone.svg") center / contain no-repeat; }
.te-band__link--email::before { -webkit-mask-image: url("/theme/assets/icons/mail.svg"); mask-image: url("/theme/assets/icons/mail.svg"); }
.te-band__link:hover { color: #bfe8d6; }

/* ---- footer ---- */
.te-footer { padding: 60px 0 44px; border-top: 1px solid #c9c9c9; background: #fff; }
.te-footer__grid { display: grid; grid-template-columns: 237px repeat(3, minmax(0, 232px)) minmax(0, 1fr); gap: 30px; }
.te-footer__brand img { display: block; }
.te-footer__award { margin-top: 42px; }
.te-footer__title { margin: 0 0 32px; padding-bottom: 20px; color: #000; font: 700 24px/31px var(--hm-font-heading); background: linear-gradient(var(--hm-primary), var(--hm-primary)) left bottom / 40px 2px no-repeat; }
.te-footer ul { margin: 0; padding: 0; list-style: none; }
.te-footer__col a { color: var(--hm-text); text-decoration: none; line-height: 27px; }
.te-footer__col a:hover { color: var(--hm-primary); }
.te-social--list { display: block; }
.te-social--list a { display: inline-flex; align-items: center; gap: 18px; font-size: 18px; line-height: 27px; color: var(--hm-text); -webkit-mask: none !important; mask: none !important; }
.te-social--list a::before { content: ""; width: 18px; height: 18px; background: #6b6b6b; -webkit-mask: center / contain no-repeat; mask: center / contain no-repeat; }
.te-social--list a[href*="linkedin"]::before { -webkit-mask-image: url("/theme/assets/icons/linkedin.svg"); mask-image: url("/theme/assets/icons/linkedin.svg"); }
.te-social--list a[href*="facebook"]::before { -webkit-mask-image: url("/theme/assets/icons/facebook.svg"); mask-image: url("/theme/assets/icons/facebook.svg"); }
.te-social--list a[href*="instagram"]::before { -webkit-mask-image: url("/theme/assets/icons/instagram.svg"); mask-image: url("/theme/assets/icons/instagram.svg"); }
.te-social--list a[href*="youtube"]::before { -webkit-mask-image: url("/theme/assets/icons/youtube.svg"); mask-image: url("/theme/assets/icons/youtube.svg"); }
.te-footer__badges { display: flex; align-items: flex-start; justify-content: flex-end; gap: 0; padding-right: 70px; }
.te-footer__badges img { width: 119px; height: auto; }
.te-body .te-footer__legal { margin-top: 20px; }

/* ---- floating contact buttons ---- */
.te-float { position: fixed; right: 0; top: 50%; z-index: 40; display: grid; gap: 20px; transform: translateY(-50%); }
.te-float__btn { display: flex; align-items: center; justify-content: flex-end; height: 70px; background: #fff; border-right: 2px solid var(--hm-primary); box-shadow: -2px 0 12px rgba(0, 0, 0, .12); color: var(--te-ink); text-decoration: none; font-weight: 500; justify-self: end; }
.te-float__icon { position: relative; flex: none; width: 40px; height: 40px; margin: 0 14px; border-radius: 50%; background: #000; }
.te-float__icon::before { content: ""; position: absolute; inset: 9px; background: #fff; -webkit-mask: url("/theme/assets/icons/phone.svg") center / contain no-repeat; mask: url("/theme/assets/icons/phone.svg") center / contain no-repeat; }
.te-float__btn--email .te-float__icon::before { -webkit-mask-image: url("/theme/assets/icons/mail.svg"); mask-image: url("/theme/assets/icons/mail.svg"); }
.te-float__label { order: -1; max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .25s, padding .25s; }
.te-float__btn:hover .te-float__label, .te-float__btn:focus-visible .te-float__label { max-width: 260px; padding-left: 20px; }

/* ---- page heading band, plain pages ---- */
.te-pagehead { padding: 52px 0 62px; background: #f0f1f2 url("/theme/assets/img/bg-page-head.webp") center / cover no-repeat; }
.te-pagehead__title { margin: 0 0 4px; color: var(--te-navy); font: 700 50px/60px var(--hm-font-heading); }
.te-body .te-pagehead p { font-size: 18px; line-height: 27px; }
.te-page { padding: 60px 0 100px; }
.te-page .te-prose { line-height: 35px; }
.te-article .te-prose { font-size: 20px; line-height: 35px; }
.te-prose h2, .te-prose h3, .te-prose h4 { color: var(--te-navy); font-family: var(--hm-font-heading); line-height: 1.3; margin: 1.4em 0 .5em; }
.te-prose h2 { font-size: 32px; } .te-prose h3 { font-size: 24px; }
.te-prose a { color: var(--hm-primary); }
.te-prose img { height: auto; }
.te-prose br + br { display: none; }
.te-prose > br { display: none; } /* imported WordPress line breaks between paragraphs */

/* ---- news list ---- */
.te-news { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 46px 30px; padding: 58px 0 100px; }
.te-news__media { display: block; height: 450px; overflow: hidden; border: 1px solid var(--te-line); line-height: 0; }
.te-news__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.te-news__media:hover img { transform: scale(1.03); }
.te-news__title { margin: 40px 0 16px; font: 700 30px/45px var(--hm-font-heading); text-wrap: wrap; }
.te-news__title a { color: var(--te-navy); text-decoration: none; }
.te-news__title a:hover { color: var(--hm-primary); }
.te-news__excerpt { font-size: 20px; line-height: 35px; }
.te-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 30px; color: #6b6b6b; font-size: 20px; line-height: 20px; font-weight: 700; text-decoration: none; }
.te-more::after { content: ""; width: 14px; height: 14px; background: var(--hm-primary); -webkit-mask: url("/theme/assets/icons/chevron.svg") center / contain no-repeat; mask: url("/theme/assets/icons/chevron.svg") center / contain no-repeat; }
.te-more:hover { color: var(--hm-primary); }
.te-more--dark { margin-top: 10px; color: var(--te-ink); font-weight: 400; font-size: 20px; gap: 14px; }

/* ---- single post ---- */
.te-article { display: grid; grid-template-columns: minmax(0, 50%) minmax(0, 40%); justify-content: space-between; align-items: start; gap: 60px; padding: 100px 0 120px; }
.te-body .te-article__label { margin: 0 0 76px; padding-top: 6px; background: linear-gradient(var(--hm-primary), var(--hm-primary)) left bottom / 40px 2px no-repeat; padding-bottom: 54px; margin-bottom: 22px; }
.te-article__title { margin: 0 0 40px; color: var(--te-ink); font: 700 50px/65px var(--hm-font-heading); }
.te-article__aside { padding: 70px; background: #ebebeb; color: var(--te-ink); }
.te-article__aside h2 { margin: 0 0 60px; font: 700 30px/40px var(--hm-font-heading); }
.te-article__aside ul { margin: 0; padding: 0; list-style: none; }
.te-article__aside li { padding: 0 0 30px; margin-bottom: 36px; border-bottom: 1px solid #8f8f8f; }
.te-article__aside li:last-child { margin-bottom: 0; }
.te-article__aside h3 { margin: 0; font: 700 20px/35px var(--hm-font-heading); }
.te-article__aside h3 a { color: inherit; text-decoration: none; }
.te-article__aside h3 a:hover { color: var(--hm-primary); }

/* ---- product carousel controls (shown only when the cards become a carousel) ---- */
.te-products__nav, .te-products__arrow { display: none; }

/* ---- category, author, archive, search and 404: the original site's plain list ---- */
.te-archive { width: min(100% - 20px, 1140px); margin-inline: auto; padding: 0 0 30px; }
.te-archive__title { margin: 8px 0 0; padding: 0; color: var(--hm-text); font: 500 40px/48px var(--hm-font-heading); }
.te-archive__item { margin: 0; }
.te-archive__name { margin: 14px 0; font: 500 32px/38.4px var(--hm-font-heading); text-wrap: wrap; }
.te-archive__name a { color: var(--hm-primary); text-decoration: none; }
.te-archive__name a:hover { color: var(--te-navy); }
.te-archive__img { display: block; width: 100%; height: 500px; object-fit: cover; }
.te-body .te-archive__excerpt { margin: 8px 0 0; font-size: 18px; line-height: 27px; }
.te-archive__pages { display: flex; gap: 14px; margin-top: 30px; }
.te-archive__pages a { color: var(--hm-primary); text-decoration: none; }
.te-archive__pages a[aria-current] { color: var(--te-ink); font-weight: 700; }

/* ---- post footer: date and previous / next ---- */
.te-article__meta { margin: 50px 0 0; padding: 14px 0; border-top: 2px solid #c9c9c9; border-bottom: 2px solid #c9c9c9; font-size: 20px; line-height: 26px; }
.te-body .te-article__meta { margin-bottom: 0; }
.te-postnav { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0 0; }
.te-postnav a { display: inline-flex; align-items: center; gap: 14px; color: var(--te-ink); font-weight: 700; font-size: 20px; line-height: 30px; text-decoration: none; }
.te-postnav a:hover { color: var(--hm-primary); }
.te-postnav a::before, .te-postnav a::after { width: 10px; height: 16px; background: var(--hm-primary); -webkit-mask: url("/theme/assets/icons/chevron.svg") center / contain no-repeat; mask: url("/theme/assets/icons/chevron.svg") center / contain no-repeat; }
.te-postnav__prev::before { content: ""; transform: scaleX(-1); }
.te-postnav__next { margin-left: auto; }
.te-postnav__next::after { content: ""; }

/* ---- breakpoints follow the live site: laptop 1366, tablet 1024, phone 767 ---- */
@media (max-width: 1366px) {
  .te-header__cta.te-btn--outline { font-size: 18px; line-height: 18px; }
  .te-hero { height: 631px; }
  .te-industries__inner, .te-partner__inner, .te-certs__headinner { grid-template-columns: minmax(0, 1fr); }
  .te-industries__inner { gap: 0; }
  .te-partner__inner { gap: 60px; }
  .te-reason { min-height: 200px; }
  .te-stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 30px; }
  .te-stat dd { margin-bottom: 0; }
  .te-mediatext__inner { grid-template-columns: minmax(0, 1fr); }
  .te-mediatext__media { width: min(100%, 800px); margin-inline: auto; }
  .te-mediatext--right .te-mediatext__media { order: 0; }
  .te-band .te-heading { max-width: 800px; }
  .te-products--featured .te-card:first-child { padding-inline: 26px; }
  .te-certs__headinner .te-heading { min-width: 0; }
  .te-headrow--btn .te-heading, .te-heading--wide, .te-newsletter__intro { max-width: 600px; }
  .te-partner__video { margin-inline: calc(var(--te-gutter) * -1); }
  .te-certs__headinner .te-heading { max-width: 666px; }
  .te-certs__headinner > p { max-width: 528px; }
}

@media (max-width: 1200px) {
  .te-nav__list { gap: 22px; }
  .te-nav__panel { gap: 24px; }
  .te-nav__list a, .te-nav__list span { font-size: 18px; }
  .te-header__cta.te-btn--outline { padding-inline: 22px; }
}

@media (max-width: 1024px) {
  :root { --te-gutter: 26px; }
  html { scroll-padding-top: 165px; }
  body.te-body { padding-bottom: 78px; }
  .te-topbar { display: none; }
  .te-nav__toggle { display: flex; flex-direction: column; justify-content: center; gap: 6px; width: 44px; height: 44px; padding: 8px; cursor: pointer; }
  .te-nav__toggle span { display: block; height: 3px; background: var(--te-navy); transition: transform .2s, opacity .2s; }
  .te-nav__check:checked ~ .te-nav__toggle span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
  .te-nav__check:checked ~ .te-nav__toggle span:nth-child(2) { opacity: 0; }
  .te-nav__check:checked ~ .te-nav__toggle span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
  .te-nav__check:focus-visible ~ .te-nav__toggle { outline: 2px solid var(--hm-primary); outline-offset: 2px; }
  .te-nav__check:not(:checked) ~ .te-nav__panel { display: none; }
  .te-nav__panel { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 20px; max-height: calc(100vh - 145px); overflow-y: auto; padding: 16px var(--te-gutter) 28px; background: #fff; box-shadow: 0 16px 24px rgba(0, 0, 0, .12); }
  .te-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .te-nav__list a, .te-nav__list span { display: flex; padding: 14px 0; border-bottom: 1px solid #eee; }
  .te-nav__item--parent > a::after, .te-nav__item--parent > span::after { margin-left: auto; }
  .te-nav__sub { position: static; opacity: 1; visibility: visible; transform: none; min-width: 0; padding: 0 0 0 18px; box-shadow: none; border: 0; }
  .te-nav__sub a { padding: 12px 0; }

  .te-btn { font-size: 18px; }
  .te-hero { height: 471px; }
  .te-headrow { flex-direction: column; gap: 20px; margin-bottom: 24px; }
  .te-headrow .te-heading { width: 100%; }

  .te-products { padding: 33px 0 60px; }
  .te-compare-section { padding-top: 33px; }
  .te-products.te-bg--busway { padding-bottom: 160px; }
  .te-products__grid, .te-bg--busway .te-products__grid { margin-top: 40px; }
  .te-newsletter { padding: 40px 0 46px; }
  .te-newsletter__inner { flex-direction: column; }
  .te-industries { padding: 60px 0 40px; }
  .te-partner { padding-top: 60px; }
  .te-partner .te-heading { margin-bottom: 60px; }
  .te-certs__head { padding: 60px 0 46px; }
  .te-products--featured .te-card { display: block; padding: 40px 26px; }
  .te-products--featured .te-card__media { margin-bottom: 30px; }
  .te-products--featured .te-card__media img { max-height: 200px; }
  .te-industries .te-heading { white-space: normal; }
  .te-products--featured .te-card:first-child { padding: 40px 26px; }
  .te-products--columns .te-card__body { padding: 20px 26px 40px; }

  .te-brochure { padding: 70px 0; }
  .te-brochure__inner { grid-template-columns: minmax(0, 513fr) minmax(0, 433fr); gap: 26px; }
  .te-brochure__cover { width: 240px; }
  .te-brochure--left .te-brochure__inner { grid-template-columns: minmax(0, 433fr) minmax(0, 513fr); }

  .te-industries__grid { grid-template-columns: minmax(0, 1fr); }

  .te-cert { flex-basis: 33.333%; }
  .te-banner { min-height: 335px; }
  .te-stat dd { font-size: 35px; line-height: 50px; }
  .te-stats { padding-top: 52px; }
  .te-mediatext { padding: 40px 0; }
  .te-band .te-heading { max-width: none; }
  .te-band__list { justify-content: space-between; }
  .te-contact__inner { grid-template-columns: minmax(0, 1fr); }
  .te-contact__card { padding: 40px 26px; }
  .te-article { grid-template-columns: minmax(0, 1fr); width: calc(100% - 80px); gap: 20px; }
  .te-article__aside { padding: 26px; }
  .te-archive { width: min(100% - 20px, 800px); }
  .te-news, .te-pagehead .te-wrap { width: calc(100% - 80px); }

  .te-footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 30px; }
  .te-footer__brand, .te-footer__badges { grid-column: 1 / -1; }
  .te-footer__award { display: block; width: min(100%, 800px); margin: 70px auto 20px; }
  .te-footer__badges { justify-content: flex-start; padding-right: 0; }
  .te-body .te-footer__legal { display: none; }

  /* the side buttons become a bar along the bottom of the screen */
  .te-float { top: auto; bottom: 0; left: 0; right: 0; grid-template-columns: 1fr 1fr; gap: 0; height: 78px; transform: none; background: #fff; border-bottom: 3px solid var(--hm-primary); box-shadow: 0 -2px 12px rgba(0, 0, 0, .1); }
  .te-float__btn { justify-content: center; justify-self: stretch; height: 100%; border: 0; box-shadow: none; }
  .te-float__btn--email { order: -1; border-right: 1px solid var(--te-line); }
  .te-float__icon { width: 40px; height: 40px; margin: 0; }
  .te-float__label { display: none; }
}

/* below the tablet width the product cards become a one-card carousel */
@media (max-width: 1023px) {
  .te-products__grid, .te-products--columns .te-products__grid, .te-products--featured .te-products__grid { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
  .te-products__grid::-webkit-scrollbar { display: none; }
  .te-products__grid > .te-card { flex: 0 0 100%; scroll-snap-align: start; }
  .te-products--featured .te-card, .te-products--featured .te-card:first-child { display: block; }
  .te-products--featured .te-card__media { margin-bottom: 30px; }
  .te-products--featured .te-card__media img, .te-products--featured .te-card:first-child .te-card__media img { width: auto; max-height: 200px; }
  .te-products__nav { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 30px; }
  .te-products__nav[hidden] { display: none; }
  .te-products__dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: var(--te-navy); cursor: pointer; opacity: .9; }
  .te-products .te-wrap { position: relative; }
  .te-products__arrow { display: block; position: absolute; z-index: 2; width: 26px; height: 44px; margin-top: -22px; padding: 0; border: 0; background: #b5b5b5; cursor: pointer; -webkit-mask: url("/theme/assets/icons/chevron.svg") center / 14px no-repeat; mask: url("/theme/assets/icons/chevron.svg") center / 14px no-repeat; }
  .te-products__arrow:hover { background: var(--hm-primary); }
  .te-products__arrow--prev { left: calc(var(--te-gutter) - 26px); transform: scaleX(-1); }
  .te-products__arrow--next { right: calc(var(--te-gutter) - 26px); }
  .te-products__dot[aria-current="true"] { width: 16px; height: 16px; background: var(--hm-primary); opacity: 1; }
}

@media (max-width: 767px) {
  :root { --te-section: 60px; }
  html { scroll-padding-top: 105px; }
  body.te-body { font-size: 14px; line-height: 21px; }
  .te-header__inner { min-height: 85px; }
  .te-brand img { width: 120px; }
  .te-nav__panel { max-height: calc(100vh - 85px - 78px); }

  .te-btn { padding: 14px 24px; font-size: 16px; line-height: 21px; }
  .te-heading { font-size: 24px; line-height: 31px; margin-bottom: 24px; padding-bottom: 14px; }
  .te-headrow { gap: 24px; margin-bottom: 30px; }
  .te-headrow .te-btn, .te-brochure__cover .te-btn { display: flex; width: 100%; }

  .te-hero { height: 492px; }
  .te-hero__title { font-size: 28px; line-height: 34px; margin-bottom: 16px; }
  .te-body .te-hero__text { font-size: 16px; line-height: 22px; margin-bottom: 26px; }
  .te-hero__copy .te-btn { display: flex; width: 100%; }
  .te-hero__body--badge { flex-direction: column; align-items: flex-start; gap: 20px; }
  .te-hero__aside { flex-direction: row; gap: 16px; margin: 0; }
  .te-hero__badgeicon { width: 70px; }
  .te-hero__badge { width: 150px; padding: 8px 12px; border-radius: 14px; }

  .te-newsletter__form { width: 100%; }
  .te-newsletter__form input[type="email"], .te-newsletter__form button { height: 54px; }

  .te-products, .te-products.te-bg--busway { padding-bottom: 60px; }
  .te-products__grid, .te-bg--busway .te-products__grid { margin-top: 30px; }
  .te-products--columns .te-card__body { padding: 16px 24px 36px; }
  .te-products--featured .te-card, .te-products--featured .te-card:first-child { padding: 30px 24px 36px; }
  .te-card__title { font-size: 18px; line-height: 24px; }
  .te-card .te-btn { margin-top: 26px; }

  .te-brochure, .te-partner { padding: 60px 0; }
  .te-brochure__inner, .te-brochure--left .te-brochure__inner { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .te-brochure__cover, .te-brochure--left .te-brochure__cover { order: 1; width: 240px; }

  .te-tile { height: 100px; }
  .te-tile__bg { inset: 0 0 0 37px; width: calc(100% - 37px); }
  .te-tile__icon { width: 60px; margin-left: 14px; }
  .te-tile__label { margin-left: 30px; font-size: 18px; line-height: 24px; }
  .te-industries__grid { gap: 16px; }

  .te-partner .te-heading { margin-bottom: 40px; }
  .te-partner__inner { gap: 40px; }
  .te-reason { min-height: 0; padding: 22px 20px 22px 50px; margin-left: 40px; }
  .te-reason__icon { left: -40px; width: 80px; height: 80px; margin-top: -40px; }
  .te-play { width: 70px; height: 70px; margin: -35px 0 0 -35px; }
  .te-play::before { inset: 18px 16px 18px 22px; }

  .te-cert { flex-basis: 50%; padding-inline: 8px; }
  .te-cert__logo { height: 200px; }
  .te-cert__logo img { max-height: 150px; }
  .te-cert__body { padding: 20px 0 30px; }
  .te-cert__body h3 { font-size: 18px; line-height: 24px; }

  .te-contact { padding: 60px 0 100px; }
  .te-contact__card { padding: 28px 20px; }
  .te-form { grid-template-columns: minmax(0, 1fr); }
  .te-form__field--half { grid-column: 1 / -1; }
  .te-form input[type="text"], .te-form input[type="email"], .te-form input[type="tel"], .te-form select, .te-form textarea { padding-inline: 18px; font-size: 16px; }
  .te-form__submit { width: 100%; }

  .te-footer__grid { grid-template-columns: minmax(0, 1fr); }
  .te-footer > .te-wrap { width: calc(100% - 34px); }
  .te-footer__title { font-size: 18px; line-height: 24px; margin-bottom: 20px; padding-bottom: 14px; }
  .te-footer__col a, .te-social--list a { font-size: 14px; line-height: 21px; }

  .te-banner { min-height: 188px; }
  .te-banner .te-hero__title { font-size: 28px; line-height: 34px; margin-bottom: 10px; }
  .te-body .te-banner .te-hero__text { font-size: 16px; line-height: 22px; }
  .te-stats { padding-top: 50px; }
  .te-stats__grid { grid-template-columns: minmax(0, 1fr); row-gap: 30px; }
  .te-stat dd { font-size: 28px; line-height: 34px; margin-bottom: 0; }
  .te-stat dt { font-size: 14px; line-height: 21px; }
  .te-body .te-mediatext__lead { font-size: 18px; line-height: 24px; }
  .te-mediatext .te-prose { font-size: 16px; line-height: 24px; }
  .te-band { padding: 44px 0 50px; }
  .te-band__list { flex-direction: column; gap: 24px; }
  .te-promo__heading { max-width: 234px; }
  .te-promo__intro { max-width: 234px; }
  .te-promo__intro :is(h3, h4, p) { font-size: 24px; }
  .te-plainform__heading { margin-bottom: 20px; }
  .te-band__link { font-size: 20px; line-height: 26px; }
  .te-pagehead { padding: 34px 0 40px; }
  .te-pagehead__title { font-size: 25px; line-height: 35px; }
  .te-body .te-pagehead p { font-size: 14px; line-height: 21px; }
  .te-pagehead .te-wrap { width: calc(100% - 34px); }
  .te-news__media { height: 250px; }
  .te-news { grid-template-columns: minmax(0, 1fr); padding: 36px 0 60px; }
  .te-news__title { margin-top: 24px; font-size: 25px; line-height: 35px; }
  .te-page .te-prose { line-height: 24px; }
  .te-article { width: calc(100% - 34px); padding: 50px 0 70px; }
  .te-article__title { font-size: 30px; line-height: 40px; }
  .te-article__aside { padding: 26px; }
  .te-article__aside h2 { margin-bottom: 30px; }
  .te-body .te-article__label { font-size: 25px; line-height: 35px; }
  .te-footer__award { margin-top: 30px; }
  .te-archive__img { height: auto; max-height: 260px; }
  .te-body .te-archive__excerpt { font-size: 14px; line-height: 21px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .te-hero__slide, .te-news__media img, .te-play { transition: none; }
  .te-products__grid { scroll-behavior: auto; }
}

/* WordPress compatibility: the core Gutenberg block classes that imported or
   pasted content carries. Scoped to .hm-entry / .hm-prose so they only style
   rich-text bodies. Colours come from the theme tokens. */

/* Alignment. alignwide and alignfull break out of the 46rem article column. */
.hm-entry .alignleft { float: left; margin: 0.25em 1.5em 1em 0; max-width: 50%; }
.hm-entry .alignright { float: right; margin: 0.25em 0 1em 1.5em; max-width: 50%; }
.hm-entry .aligncenter { display: block; margin-left: auto; margin-right: auto; text-align: center; }
.hm-entry .alignwide { width: min(75rem, calc(100vw - 3rem)); max-width: none; margin-left: 50%; transform: translateX(-50%); }
.hm-entry .alignfull { width: 100vw; max-width: none; margin-left: 50%; transform: translateX(-50%); }
/* A wide image stays a banner, not a full screen: cap its height and crop. */
.hm-entry img.alignwide, .hm-entry img.alignfull, .hm-entry .alignwide img, .hm-entry .alignfull img { width: 100%; max-height: min(32rem, 70vh); object-fit: cover; }
.hm-entry::after { content: ""; display: table; clear: both; }

/* Images and captions */
.wp-block-image, .wp-block-gallery figure { margin: 1.75em 0; }
.wp-block-image img { display: block; max-width: 100%; height: auto; }
.wp-block-image.aligncenter img { margin-inline: auto; }
.wp-block-image figcaption, figure.wp-caption figcaption, .wp-element-caption, .wp-caption-text { margin-top: 0.6em; font-size: 0.8125rem; color: var(--hm-label); text-align: center; }
.wp-block-gallery { display: flex; flex-wrap: wrap; gap: 1rem; list-style: none; padding: 0; margin: 1.75em 0; }
.wp-block-gallery .wp-block-image { flex: 1 1 12rem; margin: 0; }

/* Quote */
.wp-block-quote { margin: 1.75em 0; padding: 0.25em 0 0.25em 1.25em; border-left: 3px solid var(--hm-primary); color: var(--hm-hai); font-size: 1.125em; }
.wp-block-quote p { margin: 0 0 0.5em; }
.wp-block-quote cite, .wp-block-quote__citation { display: block; font-size: 0.8125rem; font-style: normal; color: var(--hm-label); }
.wp-block-pullquote { margin: 2em 0; padding: 1.5em 0; border-block: 1px solid var(--hm-hair); text-align: center; font-size: 1.375em; }
.wp-block-pullquote blockquote { margin: 0; padding: 0; border: 0; }

/* Table. Cells keep a readable minimum width, so a wide table scrolls sideways
   inside its own box (never the page) and edge shadows hint that there is more. */
.wp-block-table, .hm-entry > table {
  margin: 1.75em 0; max-width: 100%; overflow-x: auto;
  background:
    linear-gradient(to right, var(--hm-bg) 30%, transparent) left / 2rem 100% no-repeat local,
    linear-gradient(to left, var(--hm-bg) 30%, transparent) right / 2rem 100% no-repeat local,
    radial-gradient(farthest-side at 0 50%, rgba(0, 0, 0, 0.28), transparent) left / 0.75rem 100% no-repeat scroll,
    radial-gradient(farthest-side at 100% 50%, rgba(0, 0, 0, 0.28), transparent) right / 0.75rem 100% no-repeat scroll;
}
.hm-entry > table { display: block; width: max-content; border-collapse: collapse; font-size: 0.9375rem; }
.wp-block-table table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.hm-entry th, .hm-entry td { min-width: 7rem; }
.wp-block-table th, .wp-block-table td, .hm-entry > table th, .hm-entry > table td { padding: 0.5rem 0.75rem; border: 1px solid var(--hm-hair); text-align: left; }
.wp-block-table thead th, .hm-entry > table thead th { background: var(--hm-kasumi); }
.wp-block-table.is-style-stripes tbody tr:nth-child(odd) { background: var(--hm-kasumi); }
.wp-block-table figcaption { margin-top: 0.6em; font-size: 0.8125rem; color: var(--hm-label); text-align: center; }

/* Columns */
.wp-block-columns { display: flex; flex-wrap: wrap; gap: 1.5rem 2rem; margin: 1.75em 0; }
.wp-block-column { flex: 1 1 14rem; min-width: 0; }
.wp-block-column > :first-child { margin-top: 0; }
.wp-block-column > :last-child { margin-bottom: 0; }
@media (min-width: 48rem) { .wp-block-columns { flex-wrap: nowrap; } }

/* Buttons */
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.5em 0; }
.wp-block-button__link { display: inline-flex; align-items: center; min-height: 2.5rem; padding: 0 1.25rem; border: 1px solid var(--hm-primary); border-radius: 999px; background: var(--hm-primary); color: #fff; font-size: 0.875rem; font-weight: 500; text-decoration: none; }
.wp-block-button__link:hover { filter: brightness(0.88); }
.wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: var(--hm-primary); }
.hm-entry .wp-block-button__link { color: #fff; }
.hm-entry .wp-block-button.is-style-outline .wp-block-button__link { color: var(--hm-primary); }

/* Embeds: responsive 16:9 by default */
.wp-block-embed { margin: 1.75em 0; }
.wp-block-embed__wrapper { position: relative; }
.wp-embed-aspect-16-9 .wp-block-embed__wrapper, .wp-has-aspect-ratio .wp-block-embed__wrapper { aspect-ratio: 16 / 9; }
.wp-embed-aspect-4-3 .wp-block-embed__wrapper { aspect-ratio: 4 / 3; }
.wp-embed-aspect-1-1 .wp-block-embed__wrapper { aspect-ratio: 1 / 1; }
.wp-block-embed iframe, .wp-block-embed video { width: 100%; height: 100%; border: 0; }
.wp-block-embed:not([class*="wp-embed-aspect"]) iframe { aspect-ratio: 16 / 9; height: auto; }
.wp-block-embed figcaption { margin-top: 0.6em; font-size: 0.8125rem; color: var(--hm-label); text-align: center; }

/* Misc core blocks */
.wp-block-separator { border: 0; border-top: 1px solid var(--hm-hair); margin: 2.5em auto; }
.wp-block-code, .wp-block-preformatted { overflow-x: auto; }
.wp-block-group { margin: 1.75em 0; }
.wp-block-group.has-background { padding: 1.5rem; border-radius: var(--hm-radius-md); }
.wp-block-cover { position: relative; display: flex; align-items: center; justify-content: center; min-height: 14rem; padding: 2rem; margin: 1.75em 0; overflow: hidden; border-radius: var(--hm-radius-md); background: var(--hm-sumi-soft); color: #fff; }
.wp-block-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.wp-block-cover__inner-container { position: relative; }
.has-text-align-center { text-align: center; }
.has-text-align-right { text-align: right; }
.has-text-align-left { text-align: left; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Colour classes: the editor's default palette on the theme's own ink */
.has-black-color { color: #141417; }
.has-white-color { color: #ffffff; }
.has-gray-color, .has-cyan-bluish-gray-color { color: #66666c; }
.has-vivid-red-color, .has-red-color { color: #cf2e2e; }
.has-vivid-green-cyan-color, .has-green-color { color: #00a96e; }
.has-vivid-cyan-blue-color, .has-blue-color { color: #0693e3; }
.has-black-background-color { background-color: #141417; }
.has-white-background-color { background-color: #ffffff; }
.has-gray-background-color, .has-cyan-bluish-gray-background-color { background-color: #abb8c3; }
.has-vivid-red-background-color, .has-red-background-color { background-color: #cf2e2e; }
.has-vivid-green-cyan-background-color, .has-green-background-color { background-color: #00a96e; }
.has-vivid-cyan-blue-background-color, .has-blue-background-color { background-color: #0693e3; }
.has-background:not(.has-text-color) { color: var(--hm-sumi); }
.has-black-background-color, .has-vivid-red-background-color, .has-vivid-cyan-blue-background-color { color: #fff; }
.has-small-font-size { font-size: 0.8125em; }
.has-medium-font-size { font-size: 1.125em; }
.has-large-font-size { font-size: 1.5em; }
.has-x-large-font-size { font-size: 2em; }

[data-theme="dark"] .has-black-color { color: #ececea; }
@media (max-width: 47.99rem) {
  .hm-entry .alignleft, .hm-entry .alignright { float: none; max-width: 100%; margin: 1em 0; }
}

.hm-card-columns__grid { display: grid; gap: 1px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); background: var(--hm-hair); border: 1px solid var(--hm-hair); border-radius: var(--hm-radius-lg); overflow: hidden; }
@media (min-width: 64rem) {
  .hm-card-columns--cols-2 .hm-card-columns__grid { grid-template-columns: repeat(2, 1fr); }
  .hm-card-columns--cols-3 .hm-card-columns__grid { grid-template-columns: repeat(3, 1fr); }
  .hm-card-columns--cols-4 .hm-card-columns__grid { grid-template-columns: repeat(4, 1fr); }
}
.hm-card-columns__col { background: var(--hm-bg); padding: 2rem 1.75rem; }
.hm-card-columns__label { margin: 0 0 0.75rem; font-family: var(--hm-font-mono); font-size: 0.6875rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--hm-label); }
.hm-card-columns__title { margin: 0 0 0.5rem; font-size: 1.25rem; }
.hm-card-columns__description { margin: 0 0 1.25rem; color: var(--ht-fg-muted); }
.hm-card-columns__items { list-style: none; margin: 0; padding: 0; font-family: var(--hm-font-mono); font-size: 0.8125rem; }
.hm-card-columns__items li { padding: 0.5rem 0; border-top: 1px dashed var(--hm-hair); color: var(--hm-text); }
.hm-card-columns__notes { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1.5rem; margin-top: 1.5rem; padding: 1.5rem; background: var(--hm-shiro); border: 1px solid var(--hm-hair); border-radius: var(--hm-radius-md); }
.hm-card-columns__note-title { margin: 0 0 0.25rem; font-size: 0.9375rem; font-weight: 600; letter-spacing: 0; }
.hm-card-columns__note-text { margin: 0; font-size: 0.875rem; color: var(--ht-fg-muted); }

/* client_logos renders with the shared .hm-logo-strip styles (see logo_strip.css). */

.hm-comparison__sides { display: grid; gap: 1px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); background: var(--hm-hair); border: 1px solid var(--hm-hair); border-radius: var(--hm-radius-lg); overflow: hidden; }
.hm-comparison__side { background: var(--hm-bg); padding: 2rem 1.75rem; }
.hm-comparison__side--positive { background: var(--hm-shiro); }
.hm-comparison__tag { margin: 0 0 0.75rem; font-family: var(--hm-font-mono); font-size: 0.6875rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--hm-label); }
.hm-comparison__side--positive .hm-comparison__tag { color: var(--hm-shu); }
.hm-comparison__title { margin: 0 0 1.25rem; font-size: 1.375rem; }
.hm-comparison__items { list-style: none; margin: 0; padding: 0; }
.hm-comparison__items li { position: relative; padding: 0.625rem 0 0.625rem 1.75rem; border-top: 1px solid var(--hm-hair); }
/* Glyphs are pseudo-elements so the canvas editor never edits them. */
.hm-comparison__items li::before { position: absolute; left: 0; top: 0.625rem; font-family: var(--hm-font-mono); }
.hm-comparison__side--negative .hm-comparison__items li { color: var(--hm-hai); text-decoration: line-through; }
.hm-comparison__side--negative .hm-comparison__items li::before { content: "\00d7"; color: var(--hm-label); }
.hm-comparison__side--positive .hm-comparison__items li::before { content: "\2713"; color: var(--hm-shu); }

.hm-contact-form { max-width: 40rem; }
.hm-contact-form--split { max-width: var(--hm-container); display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
.hm-contact-form__subheading { color: var(--ht-fg-muted); }
.hm-form { display: grid; gap: 1rem; }
.hm-form__field { display: grid; gap: 0.35rem; }
.hm-form__label, .hm-form__group legend { font-weight: 600; }
.hm-form input[type="text"], .hm-form input[type="email"], .hm-form input[type="tel"], .hm-form textarea, .hm-form select {
  width: 100%; padding: 0.6rem 0.75rem; font: inherit; color: inherit; background: var(--hm-bg);
  border: 1px solid var(--ht-line); border-radius: var(--hm-radius-md);
}
.hm-form input[type="file"] { width: 100%; padding: 0.4rem 0; font: inherit; color: inherit; }
.hm-form__group { border: 0; padding: 0; margin: 0; display: grid; gap: 0.35rem; }
.hm-form__check { display: flex; gap: 0.5rem; align-items: baseline; }
.hm-form__help { color: var(--ht-fg-muted); }
.hm-form__submit { justify-self: start; cursor: pointer; font: inherit; font-size: 0.875rem; font-weight: 500; }
.hm-form__captcha { min-height: 1px; }
.hm-form__error { padding: 0.75rem 1rem; border-radius: var(--hm-radius-md); border: 1px solid var(--ht-line); }
.hm-form__success { padding: 0.75rem 1rem; border-radius: var(--hm-radius-md); background: var(--ht-surface-2); border: 1px solid var(--ht-line); }
/* Honeypot: off-screen, not display:none, so naive bots still fill it. */
.hm-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 48rem) { .hm-contact-form--split { grid-template-columns: 1fr; } }
.hm-form__field[hidden], .hm-form__error[hidden] { display: none; }
.hm-form:has(.hm-form__field--half, .hm-form__field--third) { grid-template-columns: repeat(6, 1fr); }
.hm-form:has(.hm-form__field--half, .hm-form__field--third) > * { grid-column: 1 / -1; }
.hm-form:has(.hm-form__field--half, .hm-form__field--third) > .hm-form__field--half { grid-column: span 3; }
.hm-form:has(.hm-form__field--half, .hm-form__field--third) > .hm-form__field--third { grid-column: span 2; }
@media (max-width: 600px) { .hm-form:has(.hm-form__field--half, .hm-form__field--third) > .hm-form__field { grid-column: 1 / -1; } }
/* Inline field errors (logic forms): plain small text under the field, not the boxed page alert. */
.hm-form [data-hm-error-for] { margin: 0; padding: 0; border: 0; background: none; border-radius: 0; font-size: 0.875em; line-height: 1.3; color: var(--hm-danger, #b00020); }
.hm-form [data-hm-error-for]:empty { display: none; }
.hm-form [aria-invalid="true"]:focus { outline: 2px solid var(--hm-danger, #b00020); outline-offset: 2px; }

.hm-contact-info__heading { margin-bottom: 1.5rem; }
.hm-contact-info__body { display: grid; gap: 1.5rem; }
.hm-contact-info__address { font-style: normal; }
.hm-contact-info__line { display: block; }
.hm-contact-info__channels { list-style: none; margin: 0; padding: 0; }
.hm-contact-info__hours { margin: 0; }
.hm-contact-info__hours-row { display: flex; gap: 1rem; justify-content: space-between; max-width: 20rem; padding: 0.2rem 0; border-bottom: 1px solid var(--ht-line); }
.hm-contact-info__hours dt { font-weight: 600; }
.hm-contact-info__hours dd { margin: 0; color: var(--ht-fg-muted); }
.hm-contact-info__map { margin-top: 1.5rem; }
.hm-contact-info__map iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--hm-radius-md); }
@media (min-width: 48rem) {
  .hm-contact-info--inline .hm-contact-info__body { grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); }
}
.hm-contact-info--card .hm-contact-info__body { border: 1px solid var(--ht-line); border-radius: var(--hm-radius-lg); padding: 1.75rem; background: var(--ht-surface); }

/* .hm-prose is the shared rich-text flow styling (content, overview). */
.hm-prose > :last-child { margin-bottom: 0; }
.hm-prose img { border-radius: var(--hm-radius-md); }
.hm-prose ul, .hm-prose ol { padding-left: 1.4rem; margin: 0 0 1em; }
.hm-prose blockquote { margin: 0 0 1em; padding-left: 1rem; border-left: 3px solid var(--ht-line); color: var(--ht-fg-muted); }
.hm-content { max-width: 48rem; }
.hm-content__headline { margin-bottom: 0.75em; }

/* essay: sticky aside + long-form prose column. */
.hm-content--essay { max-width: var(--hm-container); display: grid; grid-template-columns: 16rem minmax(0, 44rem); gap: 3rem 5rem; align-items: start; }
.hm-content--essay .hm-content__aside { position: sticky; top: 6rem; }
.hm-content__glyph { display: block; font-family: var(--hm-font-kanji); font-size: 3.5rem; line-height: 1; color: var(--hm-shu); margin-bottom: 1rem; }
.hm-content__aside-text { margin: 0; font-family: var(--hm-font-mono); font-size: 0.8125rem; line-height: 1.6; color: var(--hm-hai); }
.hm-content__eyebrow { margin: 0 0 1rem; font-family: var(--hm-font-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--hm-label); }
.hm-content--essay .hm-prose { font-size: 1.0625rem; line-height: 1.7; }
.hm-content--essay .hm-prose h3 { margin: 2em 0 0.5em; font-size: 1.25rem; }
.hm-content--essay .hm-prose code { padding: 0.1em 0.35em; border-radius: var(--hm-radius-sm); background: var(--hm-kasumi); font-size: 0.9em; }
@media (max-width: 960px) {
  .hm-content--essay { grid-template-columns: minmax(0, 1fr); }
  .hm-content--essay .hm-content__aside { display: none; }
}

.hm-cta { text-align: center; padding-top: 1rem; padding-bottom: 1rem; }
.hm-cta__headline { max-width: 20ch; margin-inline: auto; }
.hm-cta__subheadline { max-width: 52ch; margin: 1rem auto 0; font-size: 1.0625rem; color: var(--hm-hai); }
.hm-cta__actions { margin: 1.25rem 0 0; }
.hm-cta--tinted { background: var(--ht-surface-2); border: 1px solid var(--hm-hair); border-radius: var(--hm-radius-lg); padding: 3.5rem 1.5rem; }
.hm-cta--dark { background: var(--hm-sumi); color: #fff; border-radius: var(--hm-radius-lg); padding: 3.5rem 1.5rem; }
.hm-cta--dark h2 { color: #fff; }
.hm-cta--dark .hm-cta__subheadline { color: rgba(255, 255, 255, 0.8); }
.hm-cta--kasumi { background: var(--hm-kasumi); border: 1px solid var(--hm-hair); border-radius: var(--hm-radius-lg); padding: 3.5rem 2rem; }
.hm-cta--split { display: grid; grid-template-columns: 1fr auto; column-gap: 2rem; align-items: center; text-align: left; }
.hm-cta--split .hm-cta__headline, .hm-cta--split .hm-cta__subheadline { grid-column: 1; max-width: none; margin-inline: 0; }
.hm-cta--split .hm-cta__actions { grid-column: 2; grid-row: 1 / span 2; margin: 0; }
@media (max-width: 40rem) { .hm-cta--split { grid-template-columns: 1fr; } .hm-cta--split .hm-cta__actions { grid-column: 1; grid-row: auto; margin-top: 1.25rem; } }

.hm-faq { max-width: 48rem; }
.hm-faq__subheading { color: var(--ht-fg-muted); }
.hm-faq__item { border-bottom: 1px solid var(--ht-line); padding: 0.9rem 0; }
.hm-faq__question { cursor: pointer; font-weight: 500; }
.hm-faq__answer { margin-top: 0.6rem; color: var(--ht-fg-muted); }
.hm-faq--cards .hm-faq__list { display: grid; gap: 0.75rem; }
.hm-faq--cards .hm-faq__item { border: 1px solid var(--ht-line); border-radius: var(--hm-radius-md); padding: 0.9rem 1.1rem; }

.hm-features__header { max-width: 42rem; margin-bottom: 2.5rem; }
.hm-features__subheading { color: var(--ht-fg-muted); font-size: 1.1rem; }
.hm-features__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--hm-hair); border: 1px solid var(--hm-hair); grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.hm-features--cols-2 .hm-features__list { grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr)); }
@media (min-width: 48rem) {
  .hm-features--cols-2 .hm-features__list { grid-template-columns: repeat(2, 1fr); }
  .hm-features--cols-3 .hm-features__list { grid-template-columns: repeat(3, 1fr); }
  .hm-features--cols-4 .hm-features__list { grid-template-columns: repeat(4, 1fr); }
}
.hm-features__item { background: var(--hm-bg); padding: 1.75rem 1.75rem 2rem; }
.hm-features__item:hover { background: var(--hm-shiro); }
.hm-features__icon { display: inline-block; font-size: 1.75rem; line-height: 1; margin-bottom: 0.75rem; }
.hm-features__title { margin-bottom: 0.35em; }
.hm-features__description { color: var(--ht-fg-muted); margin-bottom: 0.75em; }
.hm-features__link { font-weight: 600; }

.hm-features--centered .hm-features__header, .hm-features--centered .hm-features__item { text-align: center; }
.hm-features--centered .hm-features__header { margin-left: auto; margin-right: auto; }

/* bento: framed cells with number, category, description and a tag footer. */
.hm-features--bento .hm-features__list { border-radius: var(--hm-radius-lg); overflow: hidden; }
.hm-features--bento .hm-features__item { min-height: 236px; display: flex; flex-direction: column; gap: 0.5rem; position: relative; }
.hm-features--bento .hm-features__number { font-family: var(--hm-font-mono); font-size: 0.75rem; color: var(--hm-label); }
.hm-features--bento .hm-features__category { font-family: var(--hm-font-mono); font-size: 0.6875rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--hm-label); }
.hm-features--bento .hm-features__badge { position: absolute; top: 1.25rem; right: 1.25rem; padding: 0.15rem 0.6rem; border-radius: 999px; border: 1px solid var(--hm-hair); background: var(--hm-kasumi); font-family: var(--hm-font-mono); font-size: 0.6875rem; color: var(--hm-hai); }
.hm-features__tags { margin-top: auto; padding-top: 1rem; font-family: var(--hm-font-mono); font-size: 0.75rem; color: var(--hm-hai); }

/* hero — also defines .hm-btn--secondary, reused by other sections. */
.hm-btn--secondary { background: var(--hm-bg); color: var(--hm-text); border-color: var(--hm-hair); }
.hm-btn--secondary:hover { border-color: var(--hm-text); filter: none; }
.hm-hero { display: grid; gap: 3.5rem; align-items: center; }
.hm-section--hero { padding-block: clamp(3.5rem, 7vw, 6rem); border-top: 0; }
.hm-hero__headline { max-width: 16ch; margin: 0; }
.hm-hero--centered { text-align: center; justify-items: center; }
.hm-hero--centered .hm-hero__body { max-width: 48rem; }
.hm-hero--centered .hm-hero__headline { margin-inline: auto; }
.hm-hero--split { grid-template-columns: 1fr 1fr; }
.hm-hero__eyebrow { display: block; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--hm-label); margin-bottom: 1rem; }
.hm-hero__subheadline { max-width: 68ch; margin-top: 1.5rem; font-size: 1.125rem; line-height: 1.6; color: var(--hm-hai); }
.hm-hero--centered .hm-hero__subheadline { margin-inline: auto; }
.hm-hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; align-items: center; }
.hm-hero--centered .hm-hero__actions { justify-content: center; }
.hm-hero__image { display: block; width: 100%; border: 1px solid var(--hm-hair); border-radius: var(--hm-radius-lg); }
@media (max-width: 48rem) { .hm-hero--split { grid-template-columns: 1fr; } }

.hm-hero__chip { display: inline-block; margin-top: 1.25rem; padding: 0.4rem 0.75rem; border: 1px solid var(--hm-hair); border-radius: var(--hm-radius-sm); background: var(--hm-kasumi); font-size: 0.8125rem; color: var(--hm-sumi-soft); }
.hm-hero__media--panel { min-width: 0; text-align: left; }

/* optional strip (stripLabel + stripItems): label on its own row, items wrapping under it. */
.hm-hero__strip { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.75rem; margin-top: 2rem; }
.hm-hero--centered .hm-hero__strip { justify-content: center; }
.hm-hero__strip-label { flex: 0 0 100%; font-family: var(--hm-font-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--hm-label); }
.hm-hero__strip-items { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem; }
.hm-hero--centered .hm-hero__strip-items { justify-content: center; }
.hm-hero__strip-items li { font-size: 0.9375rem; color: var(--hm-text); }
/* optional backdrop: a faint grid fading out from the centre, and a taller hero. */
.hm-hero--grid { position: relative; isolation: isolate; min-height: 60vh; align-content: center; }
.hm-hero--grid::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(var(--hm-hair) 1px, transparent 1px), linear-gradient(90deg, var(--hm-hair) 1px, transparent 1px); background-size: 3.5rem 3.5rem; -webkit-mask-image: radial-gradient(ellipse at center, #000 25%, transparent 72%); mask-image: radial-gradient(ellipse at center, #000 25%, transparent 72%); }

.hm-html-body { overflow-wrap: anywhere; }
.hm-html-body > :last-child { margin-bottom: 0; }
.hm-html-body details { border: 1px solid var(--ht-line); border-radius: var(--hm-radius-md); padding: 0.75rem 1rem; margin: 0 0 0.75rem; }
.hm-html-body summary { cursor: pointer; font-weight: 600; }
/* Bespoke html blocks that bring their own full-width section chrome: avoid doubling the band padding and rule. */
.hm-section--html:has(> .hm-container > .hm-html-body > section:only-child) { padding-block: 0; border-top: 0; }
.hm-section--html:has(> .hm-container > .hm-html-body > section:only-child) > .hm-container { max-width: none; padding: 0; }

.hm-link-directory__header { max-width: 42rem; margin-bottom: 2.5rem; }
.hm-link-directory__eyebrow { display: block; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--hm-label); margin-bottom: 1rem; }
.hm-link-directory__subheading { color: var(--ht-fg-muted); font-size: 1.1rem; }
.hm-link-directory__columns { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); }
.hm-link-directory__column-heading { font-size: 1rem; margin-bottom: 0.75rem; }
.hm-link-directory__links { list-style: none; margin: 0; padding: 0; }
.hm-link-directory__links li { margin: 0.35rem 0; }

.hm-logo-strip__heading { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--hm-label); text-align: center; margin-bottom: 1.5rem; }
.hm-logo-strip__viewport { display: flex; overflow: hidden; }
.hm-logo-strip__track { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1.5rem 3rem; flex: 1 0 auto; }
.hm-logo-strip__item img { display: block; width: auto; max-width: 100%; object-fit: contain; filter: grayscale(1); opacity: 0.75; transition: opacity 0.15s, filter 0.15s; }
.hm-logo-strip__item img:hover { filter: none; opacity: 1; }
.hm-logo-strip__item--sm img { height: 1.5rem; }
.hm-logo-strip__item--md img { height: 2.25rem; }
.hm-logo-strip__item--lg img { height: 3.25rem; }
/* Marquee: two identical tracks slide left by their own width, looping seamlessly. */
.hm-logo-strip--marquee .hm-logo-strip__track { flex-wrap: nowrap; justify-content: space-around; padding-right: 3rem; animation: hm-logo-marquee 40s linear infinite; }
.hm-logo-strip--marquee .hm-logo-strip__viewport:hover .hm-logo-strip__track { animation-play-state: paused; }
@keyframes hm-logo-marquee { from { transform: translateX(0); } to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) {
  .hm-logo-strip--marquee .hm-logo-strip__track { animation: none; flex-wrap: wrap; padding-right: 0; }
  .hm-logo-strip__track--clone { display: none; }
}

.hm-overview { display: grid; gap: 2.5rem; align-items: center; }
.hm-overview--with-image { grid-template-columns: 1fr 1fr; }
.hm-overview__eyebrow { display: block; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--hm-label); margin-bottom: 1rem; }
.hm-overview__subheading { font-size: 1.15rem; color: var(--ht-fg-muted); }
.hm-overview__items { margin: 1rem 0 0; padding-left: 1.2rem; }
.hm-overview__item + .hm-overview__item { margin-top: 0.35rem; }
.hm-overview__image { display: block; width: 100%; border-radius: var(--hm-radius-lg); }
@media (max-width: 48rem) { .hm-overview--with-image { grid-template-columns: 1fr; } }

.hm-pricing__header { max-width: 42rem; margin-bottom: 2.5rem; }
.hm-pricing__subheading { color: var(--ht-fg-muted); font-size: 1.1rem; }
.hm-pricing__tiers { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); align-items: stretch; }
.hm-pricing__tier { position: relative; display: flex; flex-direction: column; border: 1px solid var(--ht-line); border-radius: var(--hm-radius-lg); padding: 1.75rem; background: var(--ht-surface); }
.hm-pricing__tier--popular { border-color: var(--hm-text); box-shadow: 0 0 0 1px var(--hm-text); }
.hm-pricing__badge { align-self: flex-start; background: var(--hm-text); color: var(--hm-bg); font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.15rem 0.6rem; border-radius: 999px; margin-bottom: 0.75rem; }
.hm-pricing__description { color: var(--ht-fg-muted); }
.hm-pricing__price { margin: 0.5rem 0 1.25rem; }
.hm-pricing__amount { font-family: var(--hm-font-heading); font-size: 2.5rem; font-weight: 450; letter-spacing: -0.04em; }
.hm-pricing__currency { font-size: 1.25rem; font-weight: 600; margin-right: 0.1rem; vertical-align: 0.6em; }
.hm-pricing__period { color: var(--ht-fg-muted); margin-left: 0.15rem; }
.hm-pricing__features { list-style: none; margin: 0 0 1.5rem; padding: 0; flex: 1; }
.hm-pricing__feature { padding: 0.3rem 0 0.3rem 1.5rem; position: relative; }
.hm-pricing__feature::before { content: "\2713"; position: absolute; left: 0; font-weight: 700; }
.hm-pricing__feature--excluded { color: var(--ht-fg-muted); text-decoration: line-through; }
.hm-pricing__feature--excluded::before { content: "\2715"; }
.hm-pricing__cta { text-align: center; }
.hm-pricing--table .hm-pricing__tiers { grid-template-columns: 1fr; }
@media (min-width: 48rem) {
  .hm-pricing--table .hm-pricing__tier { display: grid; grid-template-columns: 1.2fr 1fr 2fr auto; gap: 0 1.5rem; align-items: center; }
  .hm-pricing--table .hm-pricing__price, .hm-pricing--table .hm-pricing__features { margin: 0; }
  .hm-pricing--table .hm-pricing__badge { grid-column: 1 / -1; }
}

.hm-process { max-width: 52rem; }
.hm-process__eyebrow { display: block; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--hm-label); margin-bottom: 1rem; }
.hm-process__subheading { color: var(--ht-fg-muted); }
.hm-process__steps { list-style: none; counter-reset: hm-step; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 1.25rem; }
.hm-process__step { counter-increment: hm-step; display: grid; grid-template-columns: 2.5rem 1fr; gap: 1rem; }
.hm-process__marker {
  display: inline-flex; align-items: center; justify-content: center; height: 2.5rem; min-width: 2.5rem; padding: 0 0.4rem;
  border-radius: 999px; border: 1px solid var(--hm-hair); background: var(--hm-bg); color: var(--hm-text); font-family: var(--hm-font-mono); font-size: 0.8125rem; font-weight: 500;
}
.hm-process__marker:empty::before { content: counter(hm-step); }
.hm-process__title { margin-bottom: 0.25rem; }
.hm-process__description { color: var(--ht-fg-muted); }

/* cards: adds a command box per step; keeps the .hm-container width cap like every other section. */
.hm-process--cards { max-width: var(--hm-container); }
.hm-process--cards .hm-process__steps { grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1px; background: var(--hm-hair); border: 1px solid var(--hm-hair); border-radius: var(--hm-radius-lg); overflow: hidden; }
.hm-process--cards .hm-process__step { display: block; background: var(--hm-bg); padding: 1.75rem; }
.hm-process--cards .hm-process__marker { margin-bottom: 1rem; border-radius: var(--hm-radius-sm); }
.hm-process--cards .hm-code { margin-top: 1rem; padding: 0.75rem 1rem; border: 1px solid var(--hm-hair); border-radius: var(--hm-radius-md); background: var(--hm-kasumi); }
.hm-process__where { margin: 1.25rem 0 0; padding-top: 0.875rem; border-top: 1px dashed var(--hm-hair); font-family: var(--hm-font-mono); font-size: 0.75rem; color: var(--hm-label); }
.hm-process__where a { color: inherit; text-decoration: none; }
.hm-process__where a:hover { color: var(--hm-text); text-decoration: underline; }

.hm-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem 5rem; align-items: start; }
.hm-split--wide-code { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.hm-split--text-right .hm-split__text { order: 2; }
.hm-split__heading { margin: 0 0 1rem; font-size: clamp(1.75rem, 3.2vw, 2.5rem); }
.hm-split__lede { color: var(--ht-fg-muted); font-size: 1.0625rem; line-height: 1.65; margin-bottom: 1.5rem; }
.hm-split__defs { margin: 0 0 1.5rem; border-top: 1px solid var(--hm-hair); }
.hm-split__defs > div { display: grid; grid-template-columns: 9rem 1fr; gap: 1rem; padding: 0.875rem 0; border-bottom: 1px solid var(--hm-hair); }
.hm-split__defs dt { font-family: var(--hm-font-mono); font-size: 0.8125rem; color: var(--hm-text); }
.hm-split__defs dd { margin: 0; color: var(--ht-fg-muted); }
.hm-split__chips { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: 1px; background: var(--hm-hair); border: 1px solid var(--hm-hair); border-radius: var(--hm-radius-md); overflow: hidden; }
.hm-split__chips li { background: var(--hm-bg); padding: 0.875rem 1rem; display: flex; flex-direction: column; gap: 0.25rem; }
.hm-split__chip { font-size: 0.8125rem; color: var(--hm-text); }
.hm-split__caption { font-size: 0.8125rem; color: var(--hm-hai); }
.hm-split__footnote { font-size: 0.9375rem; color: var(--hm-hai); }
.hm-split__footnote code, .hm-split__lede code { padding: 0.1em 0.35em; border-radius: var(--hm-radius-sm); background: var(--hm-kasumi); font-size: 0.9em; }
/* panelHeight: match — panel column stretches to the text column; the code panel grows, outputs sit at the bottom. */
@media (min-width: 961px) {
  .hm-split--match { align-items: stretch; }
  .hm-split--match .hm-split__text > :last-child { margin-bottom: 0; }
  .hm-split--match .hm-split__panel { display: flex; flex-direction: column; min-width: 0; }
  .hm-split--match .hm-split__panel > .hm-frame { flex: 1 1 auto; display: flex; flex-direction: column; }
  .hm-split--match .hm-split__panel > .hm-frame > .hm-code { flex: 1 1 auto; }
  .hm-split--match .hm-split__panel > .hm-outs:first-child { margin-top: auto; }
}
@media (max-width: 960px) {
  .hm-split, .hm-split--wide-code { grid-template-columns: minmax(0, 1fr); }
  .hm-split--text-right .hm-split__text { order: 0; }
}

.hm-stats__header { max-width: 42rem; margin-bottom: 2.5rem; }
.hm-stats__subheading { color: var(--ht-fg-muted); font-size: 1.1rem; }
.hm-stats__list { display: grid; gap: 1.5rem; margin: 0; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); }
@media (min-width: 48rem) {
  .hm-stats--cols-2 .hm-stats__list { grid-template-columns: repeat(2, 1fr); }
  .hm-stats--cols-3 .hm-stats__list { grid-template-columns: repeat(3, 1fr); }
  .hm-stats--cols-4 .hm-stats__list { grid-template-columns: repeat(4, 1fr); }
}
.hm-stats__item { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 0.25rem; }
.hm-stats__value { margin: 0; display: flex; flex-direction: column; }
.hm-stats__number { font-family: var(--hm-font-heading); font-size: clamp(2rem, 4vw, 3rem); font-weight: 450; line-height: 1.1; letter-spacing: -0.05em; }
.hm-stats__label { color: var(--hm-label); font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.hm-stats__description { color: var(--ht-fg-muted); font-size: 0.9rem; }
.hm-stats--cards .hm-stats__item { border: 1px solid var(--ht-line); border-radius: var(--hm-radius-lg); padding: 1.5rem; background: var(--ht-surface-2); }
.hm-stats--bordered .hm-stats__item { border-left: 1px solid var(--hm-text); padding-left: 1rem; }

.hm-sticky-sidebar { display: grid; gap: 2rem; }
.hm-sticky-sidebar__subheading { color: var(--ht-fg-muted); font-size: 1.1rem; }
.hm-sticky-sidebar__aside { border: 1px solid var(--ht-line); border-radius: var(--hm-radius-lg); padding: 1.5rem; background: var(--ht-surface-2); align-self: start; }
.hm-sticky-sidebar__facts { margin: 0 0 1.25rem; }
.hm-sticky-sidebar__fact { padding: 0.5rem 0; border-bottom: 1px solid var(--ht-line); }
.hm-sticky-sidebar__fact dt { font-size: 0.85rem; color: var(--ht-fg-muted); }
.hm-sticky-sidebar__fact dd { margin: 0; font-weight: 600; }
.hm-sticky-sidebar__cta { display: block; text-align: center; }
@media (min-width: 60rem) {
  .hm-sticky-sidebar { grid-template-columns: minmax(0, 1fr) 20rem; gap: 3rem; }
  .hm-sticky-sidebar__aside { position: sticky; top: 1.5rem; }
}

.hm-section--tag_strip { padding: 1.75rem 0; }
.hm-tag-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; }
.hm-tag-strip__label { font-family: var(--hm-font-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--hm-label); }
.hm-tag-strip__items { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 0; }
.hm-tag-strip__items li { padding: 0 1.25rem; border-left: 1px solid var(--hm-hair); font-size: 0.9375rem; color: var(--hm-text); }
.hm-tag-strip__items li:first-child { padding-left: 0; border-left: 0; }

.hm-team__header { max-width: 42rem; margin-bottom: 2.5rem; }
.hm-team__subheading { color: var(--ht-fg-muted); font-size: 1.1rem; }
.hm-team__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
@media (min-width: 48rem) {
  .hm-team--cols-2 .hm-team__list { grid-template-columns: repeat(2, 1fr); }
  .hm-team--cols-3 .hm-team__list { grid-template-columns: repeat(3, 1fr); }
  .hm-team--cols-4 .hm-team__list { grid-template-columns: repeat(4, 1fr); }
}
.hm-team__photo { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--hm-radius-md); margin-bottom: 1rem; }
.hm-team__name { margin-bottom: 0.15em; }
.hm-team__title { color: var(--ht-fg-muted); margin-bottom: 0.5em; }
.hm-team__bio { font-size: 0.95rem; }
.hm-team__social { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.75rem; font-size: 0.9rem; }
.hm-team--cards .hm-team__member { border: 1px solid var(--ht-line); border-radius: var(--hm-radius-lg); padding: 1.25rem; background: var(--ht-surface); }
.hm-team--centered .hm-team__member, .hm-team--centered .hm-team__header { text-align: center; }
.hm-team--centered .hm-team__header { margin-left: auto; margin-right: auto; }
.hm-team--centered .hm-team__photo { width: 8rem; height: 8rem; border-radius: 50%; margin-left: auto; margin-right: auto; }
.hm-team--centered .hm-team__social { justify-content: center; }
.hm-team--simple .hm-team__photo { display: none; }

.hm-testimonials__header { max-width: 42rem; margin-bottom: 2.5rem; }
.hm-testimonials__subheading { color: var(--ht-fg-muted); font-size: 1.1rem; }
.hm-testimonials__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); }
.hm-testimonials__item { border: 1px solid var(--ht-line); border-radius: var(--hm-radius-lg); padding: 1.5rem; background: var(--ht-surface); }
.hm-testimonials__figure { margin: 0; display: flex; flex-direction: column; height: 100%; }
.hm-testimonials__rating { margin: 0 0 0.75rem; letter-spacing: 0.05em; }
.hm-testimonials__quote { margin: 0 0 1.25rem; flex: 1; font-size: 1.05rem; color: var(--hm-text); }
.hm-testimonials__author { display: flex; align-items: center; gap: 0.75rem; }
.hm-testimonials__avatar { border-radius: 50%; object-fit: cover; flex: none; }
.hm-testimonials__person { display: flex; flex-direction: column; line-height: 1.3; }
.hm-testimonials__role { color: var(--ht-fg-muted); font-size: 0.9rem; }
.hm-testimonials--featured .hm-testimonials__list { grid-template-columns: 1fr; max-width: 48rem; margin: 0 auto; }
.hm-testimonials--featured .hm-testimonials__item { border: 0; background: transparent; padding: 1rem 0; text-align: center; }
.hm-testimonials--featured .hm-testimonials__quote { font-size: 1.5rem; font-family: var(--hm-font-heading); line-height: 1.35; }
.hm-testimonials--featured .hm-testimonials__author { justify-content: center; text-align: left; }

.hm-value-proposition { max-width: 44rem; text-align: center; }
.hm-value-proposition__paragraph { font-size: 1.2rem; color: var(--ht-fg-muted); margin-bottom: 0; }

