/* ==========================================================================
   HOME PAGE (index.php), v4 round 2: media rich, toned sections, 1440 wrap
   Loads after v2.css and theme.css. Every selector is prefixed .hm-
   (or scoped inside an .hm- section) so nothing leaks to other pages.
   ========================================================================== */

.hm-page { --hm-inset: clamp(8px, 1.6vw, 24px); }

.hm-stars { display: inline-flex; gap: 2px; color: #E9B53B; }
.hm-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.hm-textlink { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 600; color: var(--accent); }
.hm-textlink:hover { color: var(--accent-2); text-decoration: underline; text-underline-offset: 4px; }
:is(.v2-sec--teal, .v2-sec--dark) .hm-textlink { color: var(--mint); }
:is(.v2-sec--teal, .v2-sec--dark) .hm-textlink:hover { color: #fff; }

/* Split section head: title left, lead + action right, shared left edges */
.hm-split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 20px clamp(32px, 5vw, 96px); align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.hm-split .v2-lead { margin-bottom: 22px; max-width: 60ch; }

/* Pause / play button shared by every looping video */
.hm-vidbtn {
  position: absolute; right: 16px; top: 16px; z-index: 3; display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.94); color: var(--tx);
  box-shadow: 0 8px 20px -12px rgba(15,20,22,.6); transition: transform .25s var(--ease);
}
.hm-vidbtn:hover { transform: scale(1.06); }
.hm-vidbtn:focus-visible { outline: 3px solid var(--mint); outline-offset: 2px; }
.hm-vidbtn__pause { width: 12px; height: 14px; border-left: 4px solid currentColor; border-right: 4px solid currentColor; }
.hm-vidbtn__play { display: none; margin-left: 2px; }
.hm-vidbtn.is-paused .hm-vidbtn__pause { display: none; }
.hm-vidbtn.is-paused .hm-vidbtn__play { display: block; }

/* ==========================================================================
   HERO: copy in the 1440 wrap, media stage nearly edge to edge
   ========================================================================== */
.hm-hero {
  position: relative;
  padding: clamp(116px, 12vw, 160px) 0 clamp(28px, 3vw, 44px);
  background: linear-gradient(180deg, var(--bg-tint) 0%, var(--bg) 62%);
}
.hm-hero__top {
  display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 24px clamp(32px, 5vw, 96px);
  align-items: end; margin-bottom: clamp(28px, 3.6vw, 52px);
}
.hm-hero__title {
  margin: 0; font: 800 clamp(44px, 6.4vw, 108px)/.94 var(--f-head); letter-spacing: -.05em; color: var(--tx); text-wrap: balance;
}
.hm-hero__title em { font-style: normal; font-weight: inherit; color: var(--accent); }
.hm-hero__lead { margin: 0 0 24px; font-size: clamp(17px, 1.35vw, 20px); line-height: 1.55; color: var(--tx-2); max-width: 46ch; }
.hm-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }

.hm-rating { display: flex; align-items: center; gap: 14px; }
.hm-rating__logos { display: flex; }
.hm-rating__logos img {
  width: 38px; height: 38px; padding: 8px; margin-left: -9px; border-radius: 50%;
  background: #fff; border: 1px solid var(--line); box-shadow: 0 6px 14px -10px rgba(15,20,22,.4);
}
.hm-rating__logos img:first-child { margin-left: 0; }
.hm-rating__txt { display: flex; flex-direction: column; gap: 2px; }
.hm-rating__score { display: inline-flex; align-items: center; gap: 8px; }
.hm-rating__score strong { font: 700 18px/1 var(--f-head); color: var(--tx); }
.hm-rating__src { font-size: 14px; color: var(--muted); }

/* Stage: wide rounded video band (max 1800px) with a phone and a client chip */
.hm-stage { position: relative; width: calc(100% - var(--hm-inset) * 2); max-width: 1800px; margin-inline: auto; }
.hm-stage__frame {
  position: relative; overflow: hidden; height: clamp(420px, 40vw, 760px);
  border-radius: clamp(24px, 2.4vw, 40px); background: var(--panel); box-shadow: var(--shadow);
}
.hm-stage__frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(13,18,20,0) 55%, rgba(13,18,20,.42) 100%);
}
.hm-stage__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hm-stage__tag {
  position: absolute; left: 20px; top: 20px; z-index: 2; padding: 9px 15px; border-radius: 999px;
  background: rgba(255,255,255,.94); color: var(--tx); font: 600 13px/1.2 var(--f-body);
}

/* Phone frame with a vertical reel, pinned inside the band on the right */
.hm-phone {
  position: absolute; z-index: 2; right: clamp(20px, 4vw, 80px); bottom: clamp(20px, 3vw, 48px);
  width: clamp(150px, 13.5vw, 252px); aspect-ratio: 9 / 18.6; padding: 7px;
  border-radius: clamp(26px, 2.4vw, 40px); background: #0B0F10;
  box-shadow: 0 30px 60px -24px rgba(0,0,0,.65), inset 0 0 0 1.5px rgba(255,255,255,.14);
}
.hm-phone__screen { position: relative; overflow: hidden; width: 100%; height: 100%; border-radius: clamp(20px, 2vw, 33px); background: #1A2224; }
.hm-phone__screen video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hm-phone__bar { position: absolute; left: 0; right: 0; top: 8px; display: flex; justify-content: center; }
.hm-phone__bar span { width: 34%; height: 16px; border-radius: 999px; background: #0B0F10; }
.hm-phone__ui { position: absolute; right: 10px; bottom: 14px; display: grid; gap: 12px; color: #fff; filter: drop-shadow(0 2px 4px rgba(0,0,0,.5)); }

/* Dock: client chip + accent cards along the bottom of the band */
.hm-stage__dock {
  position: absolute; z-index: 2; left: clamp(16px, 2vw, 32px); bottom: clamp(16px, 2vw, 32px);
  right: calc(clamp(20px, 4vw, 80px) + clamp(150px, 13.5vw, 252px) + 24px);
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; pointer-events: none;
}
.hm-stage__dock > * { pointer-events: auto; }
.hm-chip {
  display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 10px 14px 10px 10px;
  border-radius: 999px; background: #fff; color: var(--tx); box-shadow: 0 22px 40px -24px rgba(15,20,22,.6);
  transition: transform .3s var(--ease);
}
.hm-chip:hover { transform: translateY(-3px); color: var(--tx); }
.hm-chip__avs { display: flex; flex: none; }
.hm-chip__avs img { width: 40px; height: 40px; margin-left: -12px; border-radius: 50%; border: 2.5px solid #fff; object-fit: cover; background: var(--bg-soft); }
.hm-chip__avs img:first-child { margin-left: 0; }
.hm-chip__txt { display: grid; gap: 1px; min-width: 0; font-size: 13px; color: var(--muted); line-height: 1.3; }
.hm-chip__txt strong { font: 700 15px/1.25 var(--f-head); color: var(--tx); }
.hm-chip__go { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--tx); color: #fff; transition: transform .3s var(--ease); }
.hm-chip:hover .hm-chip__go { transform: rotate(45deg); }

.hm-hero__cards { display: flex; gap: 12px; }
.hm-hcard {
  position: relative; display: flex; flex-direction: column; gap: 18px;
  width: 210px; min-height: 148px; padding: 18px 20px; border-radius: 20px;
  box-shadow: 0 22px 40px -24px rgba(15,20,22,.6); transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.hm-hcard:hover { transform: translateY(-4px); }
.hm-hcard--teal { background: var(--accent); color: #fff; }
.hm-hcard--teal:hover { color: #fff; }
.hm-hcard--mint { background: var(--accent-soft); color: var(--tx); }
.hm-hcard__k { font-size: 13px; font-weight: 500; opacity: .86; }
.hm-hcard__t { margin-top: auto; padding-right: 46px; font: 700 24px/1.04 var(--f-head); letter-spacing: -.03em; }
.hm-hcard__arrow {
  position: absolute; right: 16px; bottom: 16px; display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%; transition: transform .3s var(--ease);
}
.hm-hcard--teal .hm-hcard__arrow { background: #fff; color: var(--tx); }
.hm-hcard--mint .hm-hcard__arrow { background: var(--tx); color: #fff; }
.hm-hcard:hover .hm-hcard__arrow { transform: rotate(45deg); }

/* ==========================================================================
   TRUST STRIP + TRUSTED BY (real client avatars, slow marquee)
   ========================================================================== */
.hm-trust { padding: clamp(20px, 3vw, 40px) 0 clamp(36px, 4vw, 56px); }
.hm-clients { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: end; gap: 12px 32px; margin-bottom: clamp(16px, 2vw, 22px); }
.hm-clients__label { margin: 0 0 12px; font-size: 15px; color: var(--muted); max-width: 17ch; line-height: 1.4; }
.hm-clients__label strong { color: var(--tx); }
.hm-clients__rail {
  overflow: hidden; padding: 58px 0 6px; margin-top: -48px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.hm-clients__track { display: flex; width: max-content; animation: v2-marquee 70s linear infinite; }
.hm-clients__rail:hover .hm-clients__track, .hm-clients__rail:focus-within .hm-clients__track { animation-play-state: paused; }
.hm-clients__list { display: flex; gap: 14px; margin: 0; padding: 0 14px 0 0; list-style: none; }
.hm-av { position: relative; display: block; width: 56px; height: 56px; border-radius: 50%; }
.hm-av img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line), 0 10px 20px -14px rgba(15,20,22,.6); transition: transform .25s var(--ease), box-shadow .25s; }
.hm-av:hover img, .hm-av:focus-visible img { transform: translateY(-3px); box-shadow: 0 0 0 2px var(--accent), 0 14px 24px -14px rgba(15,20,22,.6); }
.hm-av:focus-visible { outline: none; }
.hm-av__tip {
  position: absolute; left: 50%; bottom: calc(100% + 10px); translate: -50% 4px; z-index: 2;
  display: grid; gap: 1px; padding: 7px 11px; border-radius: 10px; background: var(--tx); color: #fff;
  font: 600 12.5px/1.25 var(--f-body); white-space: nowrap; text-align: center;
  opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .2s, translate .2s, visibility .2s;
}
.hm-av__tip small { font-size: 11px; font-weight: 500; color: var(--mint); }
.hm-av:hover .hm-av__tip, .hm-av:focus-visible .hm-av__tip { opacity: 1; visibility: visible; translate: -50% 0; }
.hm-clients__list li:first-child .hm-av__tip { left: 0; translate: 0 4px; }
.hm-clients__list li:first-child .hm-av:hover .hm-av__tip, .hm-clients__list li:first-child .hm-av:focus-visible .hm-av__tip { translate: 0 0; }

.hm-trust__inner {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px 40px;
  padding-block: clamp(22px, 2vw, 28px) 0; border-top: 1px solid var(--line);
}
.hm-trust__reviews { display: flex; flex-wrap: wrap; gap: 10px; }
.hm-trust__reviews a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; font-size: 14px; font-weight: 600; color: var(--tx);
  transition: border-color .2s, transform .25s var(--ease);
}
.hm-trust__reviews a:hover { border-color: var(--accent); transform: translateY(-2px); }
.hm-trust__reviews strong { margin-left: 2px; }
.hm-trust__stats { display: flex; flex-wrap: wrap; gap: 16px clamp(24px, 3.2vw, 56px); margin: 0; }
.hm-trust__stats div { display: flex; flex-direction: column-reverse; gap: 4px; }
.hm-trust__stats dd { margin: 0; font: 700 clamp(28px, 2.8vw, 40px)/1 var(--f-head); letter-spacing: -.04em; color: var(--tx); }
.hm-trust__stats dt { font-size: 13px; color: var(--muted); }
/* Once ratings and stats no longer fit on one line, stack them as two full-width rows */
@media (max-width: 1320px) {
  .hm-trust__inner { gap: 24px; }
  .hm-trust__reviews { width: 100%; }
  .hm-trust__reviews > li { display: flex; flex: 1 1 auto; }
  .hm-trust__reviews a { flex: 1; justify-content: center; }
  .hm-trust__stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px 24px; width: 100%; }
}
@media (max-width: 900px) {
  .hm-trust__reviews .hm-stars { display: none; }
}

/* ==========================================================================
   WHO WE ARE + FOUNDER (dark section)
   ========================================================================== */
.hm-about__head { max-width: 1180px; margin-bottom: clamp(40px, 5vw, 72px); }
.hm-statement { margin: 0; font: 700 clamp(28px, 3.7vw, 58px)/1.1 var(--f-head); letter-spacing: -.035em; color: var(--tx); text-wrap: balance; }
.hm-statement em { font-style: normal; font-weight: inherit; color: var(--accent); }
.hm-about__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 96px); align-items: center; }
.hm-about__media { position: relative; margin: 0; }
.hm-about__media img { width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow); }
.hm-float {
  position: absolute; left: 20px; bottom: 20px; display: flex; align-items: center; gap: 12px; max-width: 300px;
  padding: 14px 18px; border-radius: 16px; background: #fff; box-shadow: var(--shadow-sm); font-size: 14px; line-height: 1.4; color: var(--tx-2);
}
.hm-float strong { display: block; font-size: 15px; color: var(--tx); }
.hm-float__ic { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--accent); color: #fff; }
.hm-about__lead { margin: 0 0 28px; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.5; color: var(--tx); }
.hm-points { display: grid; gap: 22px; margin: 0 0 32px; padding: 0; list-style: none; }
.hm-points li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; align-items: start; }
.hm-points__ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); }
.hm-points h3 { margin: 0 0 4px; font: 600 18px/1.3 var(--f-head); color: var(--tx); }
.hm-points p { margin: 0; font-size: 15px; color: var(--tx-2); }

/* dark tone overrides for the page's own components */
.v2-sec--dark .hm-statement em { color: var(--mint); }
.v2-sec--dark .hm-about__lead { color: #fff; }
.v2-sec--dark .hm-points__ic { background: rgba(159,210,217,.14); color: var(--mint); }
.v2-sec--dark .hm-float strong { color: var(--tx); }
.v2-sec--dark .hm-float span:not(.hm-float__ic) { color: var(--tx-2); }
.v2-sec--dark .hm-about__media img { box-shadow: 0 30px 60px -30px rgba(0,0,0,.8); }

.hm-founder__bar {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 20px 32px;
  margin-top: clamp(48px, 6vw, 88px);
  padding: clamp(18px, 2.4vw, 28px) clamp(20px, 3vw, 40px) clamp(18px, 2.4vw, 28px) clamp(18px, 2.4vw, 28px);
  border-radius: var(--r-lg); background: #162124; border: 1px solid rgba(255,255,255,.1); color: #fff;
}
.hm-founder__img { display: block; width: 104px; height: 104px; border-radius: 50%; object-fit: cover; object-position: 50% 14%; border: 3px solid var(--mint); }
.hm-founder__hi { margin: 0 0 6px; font-size: 15px; color: rgba(255,255,255,.74); }
.hm-founder__title { margin: 0; font: 700 clamp(28px, 3.2vw, 46px)/1.04 var(--f-head); letter-spacing: -.04em; color: #fff; }
.hm-founder__title em { font-style: normal; font-weight: inherit; color: var(--mint); }
.hm-founder__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.hm-btn-ghost { --bg: transparent; --fg: #fff; border-color: rgba(255,255,255,.4); }
.hm-btn-ghost:hover { --bg: rgba(255,255,255,.1); border-color: #fff; }

/* ==========================================================================
   SERVICES  (9 catalogue groups, bento grid on the soft tone)
   ========================================================================== */
.hm-svc__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.hm-scard {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--r); background: #fff; border: 1px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.hm-scard:not(.hm-scard--cta):hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #D6E6E8; }
.hm-scard:has(.hm-scard__link:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; }
.hm-scard__link:focus-visible { outline: none; }
.hm-scard__link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.hm-scard__media { overflow: hidden; aspect-ratio: 16 / 10; background: var(--bg-soft); }
.hm-scard__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.hm-scard:hover .hm-scard__media img { transform: scale(1.04); }
.hm-scard__body { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; flex: 1; padding: clamp(22px, 2.4vw, 30px); }
.hm-scard__ic {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px;
  position: relative; z-index: 1; background: var(--accent-soft); color: var(--accent); transition: background-color .3s, color .3s;
}
.hm-scard--photo:not(.hm-scard--wide) .hm-scard__ic { margin-top: -54px; background: #fff; box-shadow: var(--shadow-sm); }
.hm-scard:hover .hm-scard__ic { background: var(--accent); color: #fff; }
.hm-scard__title { margin: 0; font: 700 clamp(21px, 1.8vw, 26px)/1.15 var(--f-head); letter-spacing: -.025em; color: var(--tx); }
.hm-scard__text { margin: 0; font-size: 15px; color: var(--tx-2); }
.hm-scard__subs { display: flex; flex-wrap: wrap; gap: 8px; margin: 2px 0 0; padding: 0; list-style: none; }
.hm-scard__subs a {
  position: relative; z-index: 2; display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px;
  border-radius: 999px; background: var(--bg-soft); font-size: 14px; font-weight: 500; color: var(--tx-2);
  transition: background-color .2s, color .2s;
}
.hm-scard__subs a:hover { background: var(--accent-soft); color: var(--accent-2); }
.hm-scard__short { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 14px; font-weight: 600; color: var(--accent-2); }
.hm-scard__more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 6px; font-size: 14px; font-weight: 600; color: var(--accent); }
.hm-scard__more .v2-ic { transition: transform .3s var(--ease); }
.hm-scard:hover .hm-scard__more .v2-ic { transform: translate(2px, -2px); }

.hm-scard--wide { grid-column: span 2; flex-direction: row; }
.hm-scard--wide .hm-scard__media { flex: 0 0 50%; aspect-ratio: auto; min-height: 380px; }
.hm-scard--wide .hm-scard__body { justify-content: center; }
.hm-scard--wide .hm-scard__title { font-size: clamp(24px, 2.2vw, 34px); }

.hm-scard--cta { background: var(--panel); border-color: transparent; color: #fff; }
.hm-scard--cta .hm-scard__body { justify-content: center; }
.hm-scard--cta .hm-scard__title { color: #fff; }
.hm-scard--cta .hm-scard__text { color: rgba(233,238,239,.78); margin-bottom: 8px; }
.hm-scard--cta .v2-btn--dark { --bg: var(--mint); --fg: #0F1416; }

/* ==========================================================================
   SELECTED WORK: bento of reels + site screenshots, then case studies
   ========================================================================== */
.hm-sel__bento {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.2fr);
  grid-template-rows: auto auto; gap: clamp(12px, 1.4vw, 20px); margin-bottom: clamp(12px, 1.4vw, 20px);
}
.hm-sel__r1 { grid-column: 1; grid-row: 1 / span 2; }
.hm-sel__r2 { grid-column: 4; grid-row: 1 / span 2; }
.hm-sel__s1 { grid-column: 2 / span 2; grid-row: 1; }
.hm-sel__s2 { grid-column: 2 / span 2; grid-row: 2; }

/* vertical video tile */
.hm-reel {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 10px;
  overflow: hidden; isolation: isolate; aspect-ratio: 9 / 16; padding: 16px;
  border-radius: var(--r-lg); background: var(--panel); color: #fff;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.hm-reel:hover { color: #fff; transform: translateY(-4px); box-shadow: var(--shadow); }
.hm-reel:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.hm-reel__vid { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.hm-reel::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,0) 26%, rgba(0,0,0,0) 55%, rgba(0,0,0,.72) 100%); }
.hm-reel__top { display: flex; align-items: center; gap: 8px; min-width: 0; }
.hm-reel__av { flex: none; width: 32px; height: 32px; border-radius: 50%; object-fit: cover; border: 1.5px solid rgba(255,255,255,.8); }
.hm-reel__av--txt { display: grid; place-items: center; background: rgba(255,255,255,.2); font-size: 11px; font-weight: 700; }
.hm-reel__h { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hm-reel__foot { display: grid; gap: 8px; justify-items: start; }
.hm-reel__name { font: 700 clamp(19px, 1.6vw, 24px)/1.08 var(--f-head); letter-spacing: -.02em; text-wrap: balance; }
.hm-reel__cat { padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,.18); font-size: 12px; font-weight: 600; }

/* client website screenshot in a browser frame */
.hm-site {
  position: relative; display: flex; flex-direction: column; overflow: hidden; min-height: 0;
  border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); color: var(--tx);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.hm-site:hover { color: var(--tx); transform: translateY(-4px); box-shadow: var(--shadow); }
.hm-site:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.hm-site__bar { display: flex; align-items: center; gap: 6px; padding: 11px 16px; border-bottom: 1px solid var(--line); background: var(--bg-soft); font-size: 12.5px; color: var(--muted); }
.hm-site__bar i { width: 9px; height: 9px; border-radius: 50%; background: #D9DDD6; }
.hm-site__bar span { margin-left: 8px; padding: 3px 12px; border-radius: 999px; background: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hm-site__shot { position: relative; flex: 1; min-height: 180px; overflow: hidden; background: var(--bg-soft); }
.hm-site__shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 1.2s var(--ease), object-position 2.4s var(--ease); }
.hm-site:hover .hm-site__shot img { transform: scale(1.03); }
.hm-site__cap {
  position: absolute; left: 14px; right: 14px; bottom: 14px; display: flex; align-items: center; gap: 10px;
  padding: 10px 12px 10px 16px; border-radius: 14px; background: rgba(255,255,255,.96); box-shadow: var(--shadow-sm); font-size: 13px; color: var(--muted);
}
.hm-site__cap strong { font: 600 15px/1.2 var(--f-head); color: var(--tx); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hm-site__cap .v2-ic { margin-left: auto; flex: none; color: var(--accent); }
.hm-site__cap span { white-space: nowrap; }

.hm-sel__row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 20px); }
.hm-site--sm .hm-site__shot { min-height: 0; aspect-ratio: 4 / 3; }
.hm-reel--wide { aspect-ratio: auto; min-height: 320px; }

/* case study card */
.hm-case {
  display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); color: var(--tx);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.hm-case:hover { color: var(--tx); transform: translateY(-4px); box-shadow: var(--shadow); }
.hm-case:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.hm-case__media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: linear-gradient(160deg, var(--accent-soft), var(--mint)); }
.hm-case__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.hm-case:hover .hm-case__media img { transform: scale(1.04); }
.hm-case__tag { position: absolute; left: 14px; top: 14px; padding: 6px 12px; border-radius: 999px; background: var(--tx); color: #fff; font-size: 12px; font-weight: 600; }
.hm-case__body { display: flex; flex-direction: column; gap: 12px; flex: 1; padding: 18px 20px 22px; }
.hm-case__id { display: flex; align-items: flex-start; gap: 12px; min-width: 0; }
.hm-case__id > span { display: grid; min-width: 0; }
.hm-case__id strong { font: 700 18px/1.2 var(--f-head); letter-spacing: -.015em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hm-case__id small { font-size: 13px; color: var(--accent); font-weight: 600; }
.hm-case__av { flex: none; width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); margin-top: -22px; position: relative; background: #fff; }
.hm-case__av--txt { display: grid; place-items: center; background: var(--accent); color: #fff; font: 700 14px/1 var(--f-head); }
.hm-case__sum { font-size: 15px; color: var(--tx-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hm-case__more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; font-size: 14px; font-weight: 600; color: var(--accent); }

/* teal CTA tile closing the row */
.hm-sel__cta {
  display: flex; flex-direction: column; justify-content: space-between; gap: 18px; min-height: 260px;
  padding: clamp(22px, 2.2vw, 30px); border-radius: var(--r-lg); background: #123A3F; color: #fff;
}
.hm-sel__cta-k { font-size: 13px; color: var(--mint); font-weight: 600; }
.hm-sel__cta-t { margin: 0; font: 700 clamp(24px, 2.2vw, 32px)/1.06 var(--f-head); letter-spacing: -.03em; color: #fff; text-wrap: balance; }
.hm-sel__cta-links { display: grid; gap: 6px; justify-items: start; }
.hm-sel__cta-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 14px; font-weight: 600; color: var(--mint); }
.hm-sel__cta-link:hover { color: #fff; }

/* ==========================================================================
   VIDEO BAND (full width rounded media band, plays while visible)
   ========================================================================== */
/* the band bridges the white section above and the tint section below */
.hm-band { padding: 0 var(--hm-inset); background: linear-gradient(180deg, var(--bg) 50%, var(--bg-tint) 50%); }
.hm-band__frame {
  position: relative; overflow: hidden; isolation: isolate; max-width: 1800px; margin-inline: auto;
  min-height: clamp(460px, 44vw, 720px); display: flex; align-items: flex-end;
  border-radius: clamp(24px, 2.4vw, 40px); background: var(--panel);
}
.hm-band__video { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.hm-band__frame::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(10,16,18,.86) 0%, rgba(10,16,18,.55) 48%, rgba(10,16,18,.15) 100%), linear-gradient(0deg, rgba(10,16,18,.6) 0%, transparent 50%);
}
.hm-band__inner {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 32px clamp(32px, 5vw, 96px);
  padding-block: clamp(40px, 6vw, 88px);
}
.hm-band__copy { max-width: 720px; }
.hm-band__pill.v2-eyebrow { color: #fff; border-color: rgba(255,255,255,.4); background: transparent; }
.hm-band__pill.v2-eyebrow::before { background: var(--mint); }
.hm-band__title { margin: 16px 0 16px; font: 800 clamp(36px, 5vw, 76px)/.98 var(--f-head); letter-spacing: -.045em; color: #fff; text-wrap: balance; }
.hm-band__title em { font-style: normal; color: var(--mint); }
.hm-band__lead { margin: 0 0 26px; max-width: 54ch; font-size: clamp(16px, 1.3vw, 19px); color: rgba(233,238,239,.86); }
.hm-band__links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; }
.hm-band__link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: #fff; text-decoration: underline; text-decoration-color: rgba(159,210,217,.6); text-underline-offset: 5px; }
.hm-band__link:hover { color: var(--mint); }
.hm-band__facts { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.hm-band__facts li {
  display: flex; align-items: baseline; gap: 12px; min-width: 220px; padding: 14px 18px; border-radius: 16px;
  background: rgba(13,18,20,.62); border: 1px solid rgba(255,255,255,.14); color: rgba(233,238,239,.8); font-size: 14px;
}
.hm-band__facts strong { font: 800 clamp(26px, 2.4vw, 36px)/1 var(--f-head); letter-spacing: -.04em; color: #fff; }
.hm-band .hm-vidbtn { top: 20px; right: 20px; }

/* ==========================================================================
   PORTFOLIO BY SERVICE (tabs on the tint tone)
   ========================================================================== */
html.no-js .hm-work__tabs { display: none; }
.hm-work__tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.hm-work__tab {
  min-height: 46px; padding: 10px 22px; border-radius: 999px; border: 1.5px solid rgba(15,20,22,.12);
  background: #fff; font: 600 15px/1 var(--f-body); color: var(--tx-2);
  transition: background-color .2s, color .2s, border-color .2s;
}
.hm-work__tab:hover { border-color: var(--tx); color: var(--tx); }
.hm-work__tab[aria-selected="true"] { background: var(--tx); border-color: var(--tx); color: #fff; }
.hm-work__panels { display: grid; gap: 20px; }
.hm-work__panel {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center;
  padding: clamp(10px, 1.2vw, 14px); border-radius: calc(var(--r-lg) + 8px); background: #fff; box-shadow: 0 30px 60px -44px rgba(18,58,63,.45);
}
.hm-work__panel[hidden] { display: none; }
.hm-work__panel:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.hm-work__media { position: relative; overflow: hidden; aspect-ratio: 16 / 10; border-radius: var(--r-lg); background: var(--panel); }
.hm-work__media > img, .hm-work__media > video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.hm-work__label {
  position: absolute; left: 16px; bottom: 16px; padding: 8px 14px; border-radius: 999px;
  background: #fff; color: var(--tx); font: 600 13px/1.2 var(--f-body);
}
.hm-work__body { padding: clamp(8px, 2vw, 24px) clamp(12px, 2.4vw, 40px) clamp(8px, 2vw, 24px) 0; }
.hm-work__title { margin: 0; font: 700 clamp(26px, 2.6vw, 40px)/1.08 var(--f-head); letter-spacing: -.035em; color: var(--tx); text-wrap: balance; }
.hm-work__body > p { margin: 14px 0 20px; color: var(--tx-2); }
.hm-checks { display: grid; gap: 10px; margin: 0 0 28px; padding: 0; list-style: none; }
.hm-checks li { display: flex; align-items: center; gap: 10px; color: var(--tx); }
.hm-checks .v2-ic { color: var(--accent); flex: none; }

/* ==========================================================================
   SOCIAL REEL WALL (teal tone; the shared wall makes clip tiles play)
   ========================================================================== */
.hm-social { padding-bottom: clamp(64px, 8vw, 112px); }
.hm-social .v2-reels { max-width: 1900px; margin-inline: auto; }
.hm-social .v2-reel { box-shadow: 0 22px 44px -24px rgba(0,0,0,.7); }
.hm-social .v2-reel:hover { transform: translateY(-4px); }
.hm-social .v2-reel--r0 { background: #0D1214; }
.hm-social .v2-reel--r1 { background: var(--accent); }
.hm-social .v2-reel--r2 { background: #fff; color: var(--tx); }
.hm-social .v2-reel--r3 { background: #1F555C; }
.hm-social .v2-reel--r4 { background: var(--mint); color: var(--tx); }
.hm-social .v2-reel--r5 { background: #0B2A2E; }
.hm-social .v2-reel--r2:not(.v2-reel--media)::after, .hm-social .v2-reel--r4:not(.v2-reel--media)::after { content: none; }
.hm-social .v2-reel--r2:not(.v2-reel--media):hover, .hm-social .v2-reel--r4:not(.v2-reel--media):hover { color: var(--tx); }
.hm-social :is(.v2-reel--r2, .v2-reel--r4):not(.v2-reel--media) .v2-reel__av { background: rgba(15,20,22,.06); border-color: rgba(15,20,22,.25); }
.hm-social :is(.v2-reel--r2, .v2-reel--r4):not(.v2-reel--media) :is(.v2-reel__play, .v2-reel__cat) { background: rgba(15,20,22,.08); }
.hm-social .v2-reel--media { color: #fff; }
.hm-social .v2-reel__play { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(255,255,255,.16); }

/* ==========================================================================
   PROCESS
   ========================================================================== */
.hm-proc__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.hm-proc__step {
  position: relative; overflow: hidden; padding: 30px 26px 32px; border-radius: var(--r);
  background: var(--bg-soft); border: 1px solid var(--line);
}
.hm-proc__step::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--accent);
  transform-origin: left; transform: scaleX(.25);
}
.hm-proc__step:nth-child(2)::before { transform: scaleX(.5); }
.hm-proc__step:nth-child(3)::before { transform: scaleX(.75); }
.hm-proc__step:nth-child(4)::before { transform: scaleX(1); }
.hm-proc__no { display: block; margin-bottom: 40px; font: 800 clamp(44px, 4.4vw, 64px)/1 var(--f-head); letter-spacing: -.05em; color: var(--accent); }
.hm-proc__step h3 { margin: 0 0 10px; font: 600 21px/1.25 var(--f-head); color: var(--tx); }
.hm-proc__step p { margin: 0; font-size: 15px; color: var(--tx-2); }

/* ==========================================================================
   INSIGHTS (soft tone)
   ========================================================================== */
.hm-ins__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.hm-ins__card {
  display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r); background: #fff; border: 1px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.hm-ins__card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.hm-ins__media { overflow: hidden; aspect-ratio: 16 / 10; background: var(--bg-soft); }
.hm-ins__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.hm-ins__card:hover .hm-ins__media img { transform: scale(1.04); }
.hm-ins__body { display: flex; flex-direction: column; gap: 12px; flex: 1; padding: 22px 24px 26px; }
.hm-ins__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.hm-ins__cat { padding: 5px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-2); font-weight: 600; }
.hm-ins__body h3 { margin: 0; font: 600 19px/1.3 var(--f-head); letter-spacing: -.01em; color: var(--tx); }
.hm-ins__more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 6px; font-size: 14px; font-weight: 600; color: var(--accent); }

/* FAQ on teal: the phone CTA button keeps AA contrast */
.hm-faq .h2-faq__cta .v2-btn--primary { background: var(--mint); --fg: #0F1416; }
.hm-faq .h2-faq__a p { color: rgba(233,238,239,.84); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (min-width: 1600px) {
  .hm-svc__grid, .hm-proc__list, .hm-ins__grid { gap: 24px; }
}

@media (max-width: 1240px) {
  /* chip and accent cards leave the band and sit underneath it */
  .hm-stage__dock { position: static; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: stretch; gap: 12px; margin-top: 12px; pointer-events: auto; }
  .hm-chip { border-radius: 22px; box-shadow: none; border: 1px solid var(--line); }
  .hm-hero__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hm-hcard { width: auto; min-height: 112px; box-shadow: none; }
  .hm-hcard__t { font-size: 21px; }
}

@media (max-width: 1100px) {
  .hm-proc__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hm-sel__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hm-stage__dock { grid-template-columns: minmax(0, 1fr); }
  .hm-chip { justify-self: start; }
}

@media (max-width: 1024px) {
  .hm-svc__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hm-band__inner { grid-template-columns: minmax(0, 1fr); }
  .hm-band__facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hm-band__facts li { min-width: 0; flex-direction: column; gap: 4px; }
}

@media (max-width: 900px) {
  .hm-hero__top, .hm-split, .hm-about__grid, .hm-work__panel { grid-template-columns: minmax(0, 1fr); }
  .hm-clients { grid-template-columns: minmax(0, 1fr); }
  .hm-clients__label { max-width: none; }
  .hm-sel__bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; }
  .hm-sel__r1, .hm-sel__r2, .hm-sel__s1, .hm-sel__s2 { grid-column: auto; grid-row: auto; }
  .hm-sel__s1, .hm-sel__s2 { grid-column: 1 / -1; }
  .hm-sel__s1 .hm-site__shot, .hm-sel__s2 .hm-site__shot { aspect-ratio: 16 / 10; flex: none; }
  .hm-sel__s1 { order: 1; }
  .hm-sel__r1 { order: 2; }
  .hm-sel__r2 { order: 3; }
  .hm-sel__s2 { order: 4; }
  .hm-work__body { padding: 8px 10px 18px; }
  .hm-founder__bar { grid-template-columns: auto minmax(0, 1fr); }
  .hm-founder__actions { grid-column: 1 / -1; justify-content: flex-start; }
  .hm-ins__grid { grid-template-columns: minmax(0, 1fr); max-width: 640px; }
}

@media (max-width: 760px) {
  /* stage, its dock and the dark band line up with the text gutter on phones */
  .hm-page { --hm-inset: var(--gut); }
  .hm-svc__grid { grid-template-columns: minmax(0, 1fr); }
  .hm-scard--wide { grid-column: auto; flex-direction: column; }
  .hm-scard--wide .hm-scard__media { flex: none; aspect-ratio: 16 / 10; min-height: 0; }
  .hm-scard--wide .hm-scard__ic { margin-top: -54px; background: #fff; box-shadow: var(--shadow-sm); }
  .hm-stage__frame { height: clamp(380px, 92vw, 520px); }
  .hm-phone { width: clamp(112px, 30vw, 160px); right: 14px; bottom: 14px; border-radius: 24px; padding: 5px; }
  .hm-phone__screen { border-radius: 20px; }
  .hm-phone__bar span { height: 12px; }
  .hm-band__frame::after { background: linear-gradient(0deg, rgba(10,16,18,.9) 0%, rgba(10,16,18,.62) 60%, rgba(10,16,18,.4) 100%); }
}

@media (max-width: 600px) {
  .hm-hero__where { display: none; }
  .hm-hero__actions .v2-btn { flex: 1 1 100%; }
  .hm-stage__tag { display: none; }
  .hm-chip { justify-self: stretch; border-radius: 20px; }
  .hm-chip__avs img:nth-child(n+4) { display: none; }
  .hm-hcard { min-height: 116px; padding: 14px 14px 16px; gap: 12px; border-radius: 18px; }
  .hm-hcard__k { font-size: 12px; }
  .hm-hcard__t { font-size: 19px; padding-right: 0; padding-bottom: 44px; }
  .hm-hcard__arrow { right: 12px; bottom: 12px; width: 36px; height: 36px; }
  .hm-av, .hm-av img { width: 48px; height: 48px; }
  .hm-trust__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hm-trust__reviews { gap: 8px; }
  .hm-trust__reviews a { padding: 8px 12px; }
  .hm-float { left: 12px; right: 12px; bottom: 12px; max-width: none; }
  .hm-proc__list { grid-template-columns: minmax(0, 1fr); }
  .hm-proc__no { margin-bottom: 24px; }
  .hm-work__tab { padding: 10px 16px; font-size: 14px; }
  .hm-founder__img { width: 72px; height: 72px; }
  .hm-founder__actions .v2-btn { flex: 1 1 100%; }
  .hm-actions .v2-btn { flex: 1 1 auto; }
  .hm-sel__row { grid-template-columns: minmax(0, 1fr); }
  .hm-reel { padding: 12px; }
  .hm-reel__h { display: none; }
  .hm-band__frame { min-height: 560px; }
  .hm-band__facts { grid-template-columns: minmax(0, 1fr); }
  .hm-band__facts li { flex-direction: row; gap: 12px; }
}

@media (max-width: 400px) {
  .hm-chip { gap: 12px; padding-right: 12px; }
  .hm-chip__avs img { width: 34px; height: 34px; margin-left: -10px; }
  .hm-chip__avs img:nth-child(n+3) { display: none; }
  .hm-chip__txt strong { font-size: 14px; }
  .hm-hcard__t { font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .hm-clients__track { animation: none; }
  .hm-clients__rail { overflow-x: auto; }
  .hm-clients__list[aria-hidden="true"] { display: none; }
  .hm-hcard:hover, .hm-scard:hover, .hm-ins__card:hover, .hm-reel:hover, .hm-site:hover, .hm-case:hover, .hm-chip:hover { transform: none; }
  .hm-scard:hover .hm-scard__media img, .hm-ins__card:hover .hm-ins__media img, .hm-site:hover .hm-site__shot img, .hm-case:hover .hm-case__media img { transform: none; }
}
